[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] GNUnet 0.6.3a released

From: Glenn McGrath
Subject: Re: [GNUnet-developers] GNUnet 0.6.3a released
Date: Fri, 6 Aug 2004 21:58:19 +1000

On Fri, 6 Aug 2004 17:06:54 +0530
Christian Grothoff <address@hidden> wrote:

> On Friday 06 Aug 2004 4:03 pm, Glenn McGrath wrote:
> > On Fri, 6 Aug 2004 13:06:05 +0530
> >
> > Christian Grothoff <address@hidden> wrote:
> > > I just recalled something in this context.  Plese try compiling
> > > with-O0 (no optimizations, export CFLAGS="-O0".  I believe I
> > > encounted some gcc bug when I worked on this code and the only way
> > > to fix it was to disable optimizations. - C
> >
> > Yea, that does the trick for me, i only get one test failure now.
> The question now is, should we force -O0 in configure, warn for -O2 or
> just have people compile GNUnet and blame it on our code if their gcc
> is buggy (with -O2 the return of a 'strdup' operation on a valid
> string is garbage, at least according to gdb and the crash that
> happens).  I don't see how we could do a decend workaround in the
> code.  Then again it feels wrong to force compiler options on people. 
> Any opinions?  Other experiences?  

I think there must be another problem, i made a test program with strdup
here and it seems to work.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]