Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: DPKG not compiling due to differences between Alpha and Intel...
@ 1996-01-24  1:05 David Mosberger
  0 siblings, 0 replies; only message in thread
From: David Mosberger @ 1996-01-24  1:05 UTC (permalink / raw)


> From owner-linux-alpha-outgoing@vger.rutgers.edu Tue Jan 23 16:49 MST 1996
 > Date:  > Tue, 23 Jan 96 23:02 GMT
 > From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
 > To: debian-alpha@pixar.com, linux-alpha@vger.rutgers.edu
 > Subject: Re: DPKG not compiling due to differences between Alpha and Intel...

 > > I found the following differences between Linux/x86 and Linux/Alpha:
 > > * SYS_sysinfo is not defined in any of the header files (but the kernel does
 > >   implement it).

 > This is IMO a bug in the libc and/or kernel.  I suppose the best
 > workaround is to write a configure rule that detects for the presence
 > of SYS_sysinfo and defines it, or something.

Yup, SYS_sysinfo needs to be added to the kernel entry table (and
appropriate header files).  I'm suprised this hasn't caused problems
earlier on already.  I'll do this ASAP (both libc and the kernel).

 > > * Structure sigaction has no member sa_restorer.

 > Huh ?  This really confuses me.  Is this necessary for OSF/1
 > compatibility ?  How am I to write code that works right on both
 > systems, if I refuse to use #ifdef ?

Yes, it is necessary for OSF/1 compatibility.  I suspect that Linus is
discouraging the use of the sa_restorer field since it seems to be
Linux specific.  Why does your program need that field?  To switch
stacks on signal delivery?  If you let me know what exactly the
problem is that requires using this field I'd be happy to work with
you on finding an #ifdef free solution.

	--david

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-24  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-24  1:05 DPKG not compiling due to differences between Alpha and Intel David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox