[Openais] Re: openais segfault

Steven Dake sdake at redhat.com
Wed Apr 5 15:29:47 PDT 2006


This was part of the BSD port from Fabien.

Pretty nice work if you ask me :)

I think there must be an optimizer bug in gcc since with -O3 breaking.


On Wed, 2006-04-05 at 15:11 -0700, Mark Haverkamp wrote:
> On Wed, 2006-04-05 at 14:50 -0700, Steven Dake wrote:
> > Does it also crash if you specify a DEBUG version in Makefile.inc?  This
> > is a release version (with optimization)...
> 
> When did all this stuff get added?
> 
> Anyway, it did start up OK setting the Makfile.inc up this way.
> 
> Mark.
> 
> > 
> > from Makefile.inc:
> > # OPENAIS_BUILD can be defined as RELEASE or DEBUG
> > #
> > ifndef OPENAIS_BUILD
> >         OPENAIS_BUILD=DEBUG
> > endif
> > 
> > 
> > On Wed, 2006-04-05 at 14:48 -0700, Mark Haverkamp wrote:
> > > On Wed, 2006-04-05 at 14:39 -0700, Steven Dake wrote:
> > > > Love those bugs that go away with printfs :)
> > > > 
> > > > Can you try it without optimization without the printfs.  If that works,
> > > > then it is likely an optimization bug.  It looks like you are already
> > > > running in debug mode though.  So please do the following
> > > > 
> > > > rm lcr_ifact.c
> > > > svn udpate lcr_ifact.c
> > > > make (with DEBUG)
> > > > objdump -S lcr_ifact.o
> > > > 
> > > > I'll analyze the differences in the compiler output.
> > > 
> > > cc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_LINUX -I../include -g -DDEBUG  -c -o lcr_ifact.o lcr_ifact.c
> > > 
> > > 
> > > > 
> > > > Regards
> > > > -steve
> > > > 
> > > 




More information about the Openais mailing list