This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]