[libc-alpha] linuxthreads bug in 2.2.4 under ppc linux

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Dec 8 17:03:00 GMT 2001


On Saturday 08 December 2001 21:04, Kevin B. Hendricks wrote:
> Hi,
>
> As the fates always seem to determine.
>
> If I build glic-2.2.4 with -g -O1 -DDEBUG=1 it now won't segfault anymore.

:-(. Though this would possibly point to some missing barrier in the threads 
code if less scheduling fixes it. Well, try with -O2 -g, a bit harder to 
debug though (you can play with -fno-schedule-insns and -fno-schedule-insns-2 
too). BTW, leaving out -DNDEBUG=1 already switchea on the assertions, whereas 
-DDEBUG=1 enables extra debugging stuff (maybe the extra debugging stuff lets 
the bug go away?).

Franz.



More information about the Libc-alpha mailing list