From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0612898c4714fbd17c7e98aa2ba4455c.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199601240105.SAA18433@web.azstarnet.com> Date: Tue, 23 Jan 1996 18:05:23 -0700 From: David Mosberger Subject: Re: DPKG not compiling due to differences between Alpha and Intel... > 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 > 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