This changes the RPM spec file to have -devel and -utils packages; the klibc main package is now only the runtime (plus libc.so and interp.o to avoid version skew; someone who is better at RPM than I am might be able to do the right thing with Requires and Provides to make sure there is a 100% binary match between files, using the hash code.) I'd like to let this stew for a bit, to smoke out bugs; I'm thinking it might be time to call it 1.0 after that. -hpa
On Thu, Mar 03, H. Peter Anvin wrote:> might be time to call it 1.0 after that.sparc did not compile before 0.200, some signal stuff undeclared.
Olaf Hering wrote:> > No, you rely on kernel headers, and this struct siginfo or similar is > hidden inside __KERNEL__ on sparc. Let me check. >Hmmm... the right thing to do is probably to stop using the non-rt_* forms of the sigset_t-using syscalls on all architectures, and then coax some kind of definition of sigset_t out of all the appropriate places. Sigh. -hpa
On Thu, Mar 03, H. Peter Anvin wrote:> I'd like to let this stew for a bit, to smoke out bugs; I'm thinking it > might be time to call it 1.0 after that.Also, arm doesnt compile anymore. tests/fcntl.o: In function `main': fcntl.c:(.text+0x10): undefined reference to `open' daemon.o: In function `daemon': daemon.c:(.text+0x30): undefined reference to `open' fopen.o: In function `fopen': fopen.c:(.text+0x70): undefined reference to `open' readdir.o: In function `opendir': readdir.c:(.text+0x24): undefined reference to `open' syslog.o: In function `openlog': syslog.c:(.text+0x24): undefined reference to `open' getpt.o: In function `getpt': getpt.c:(.text+0x8): undefined reference to `open' this was ok 2 weeks ago. Unless the kernel changes between rc4 and 2.6.11 broke something. This one doesnt fix it: Index: klibc/tests/fcntl.c ==================================================================RCS file: /home/cvs/klibc/klibc/klibc/tests/fcntl.c,v retrieving revision 1.1 diff -u -p -r1.1 fcntl.c --- klibc/tests/fcntl.c 26 Aug 2004 01:43:11 -0000 1.1 +++ klibc/tests/fcntl.c 3 Mar 2005 21:59:42 -0000 @@ -4,6 +4,8 @@ #include <stdio.h> #include <unistd.h> +#include <sys/types.h> +#include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <stdlib.h>
On Thu, Mar 03, H. Peter Anvin wrote:> Olaf Hering wrote: > > > >No, you rely on kernel headers, and this struct siginfo or similar is > >hidden inside __KERNEL__ on sparc. Let me check.../include/signal.h:81: warning: "struct sigaction" declared inside parameter list that one is hidden on sparc.
Olaf Hering wrote:> On Thu, Mar 03, H. Peter Anvin wrote: > > >>Olaf Hering wrote: >> >>>No, you rely on kernel headers, and this struct siginfo or similar is >>>hidden inside __KERNEL__ on sparc. Let me check. > > > ../include/signal.h:81: warning: "struct sigaction" declared inside parameter list > > that one is hidden on sparc.Can we fix the sparc header? struct sigaction is part of the kernel/user space interface. -hpa