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


Hi Franz,

I had no idea so much changed between -O2 and -O3.  One significant 
difference in that all of the wait_node_dequeue and wait_node_free are 
actually inlined into the -O3 version and pretty much get integrated in 
while they stay as separate routines in -O2.

This is going to be hard to compare.

Kevin

On December 8, 2001 07:46, Franz Sirl wrote:
> 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]