[uClibc] signal handling broken with kernel 2.0.x

Knut Pfefferkorn uclibc at keywarrior.net
Tue May 18 13:55:27 UTC 2004


Hello,

I've downloaded the pre-built i386 root-fs, then chrooted into it. My 
system run's kernel 2.4.x

I compiled and linked statically. The binary runs under linux 2.0.x, 
but signal handling does not work. The program terminates after 
receiving any signal.

Compiling the same program with native gcc from that system works fine.
Is this a bug in uClibc, a problem with the root_fs or something else?

Attached a small test program. I'Ve compiled with:
gcc -Wall -o sigtest -static sigtest.c

Send SIGHUP or SIGUSR1 to it. The program reports the signal (and exits 
after USR1).

-- 
knut

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigtest.c
Type: application/octet-stream
Size: 700 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040518/065acba7/attachment.obj 


More information about the uClibc mailing list