From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horst von Brand To: hjl@lucon.org (H.J. Lu) Cc: drepper@gnu.ai.mit.edu (Ulrich Drepper), libc-linux@gnu.ai.mit.edu (GNU C Library), egcs@cygnus.com, linux-gcc@vger.rutgers.edu (linuxgcc), linux-kernel@vger.rutgers.edu (linux kernel) Subject: Re: linux 2.1.71 and libc Date: Sun, 07 Dec 1997 09:49:00 -0000 Message-id: <199712071300.KAA05522@sleipnir.valparaiso.cl> References: X-SW-Source: 1997-12/msg00407.html hjl@lucon.org (H.J. Lu) said: > "Horst von Brand" at Dec 5, 97 07:10:52 am said: > > linux-2.1.71, libc-5.4.41, binutils-2.8.1.0.17; > There is a problem with linux-2.1.71 and libc 5.4.41. I haven't > found a good solution for it yet. > sigset_t is changed in linux-2.1.71 to 64 bits. That breaks libc 5.4.x. > Also many older binaries using 32 bit sigset_t may not work properly > under linux-2.1.71. Hum.... I had to take a look at this (I needed to compile modutils-2.1.55, but the compilation blew up due to incorrect types). The fix for this is simple: In /usr/include/signal.h there are several #defines for the sigset manipulation functions that assume 32 bits (or an unsigned long, at least), they are at the start of an #ifdef __OPTIMIZE__ Just move the #ifdef 0 a couple of lines lower up, and they aren't included. This will need a closer look... OTOH, I took a look at the whole stuff in 2.1.71, and I can't see anything that might break 32-signal applications in there. If it did, my system wouldn't work, I guess... -- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viña del Mar, Chile +56 32 672616