gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] GNUnet 0.6.3a released


From: Marcos D. Marado Torres
Subject: Re: [GNUnet-developers] GNUnet 0.6.3a released
Date: Sat, 7 Aug 2004 09:27:32 +0100 (WEST)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 6 Aug 2004, Christian Grothoff 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).

Maybe we should first track down more info about the said gcc bug. Like, does
the bug occur in the same versions? (I mean, if gcc version x.y bugs on me,
will it bug on everyone else using that version of gcc?) Which gcc versions
have that bug? If the bug occurs only in gcc <= x.y.z, the sollution os to turn
gcc > x.y.z to be a dependency.

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?

If it's really a gcc code, then:
1) It happens in old versions, till a certein one, and then it was fixed and
there's no more bug, so we should make explicit that gnunet needs a gcc version
more recent that the last buggy one;
2) It still happens in the latests versions, which means we should talker with
gcc people and discuss wether they consider it a bug (and will correct it) or
not (and then we must find a workaround in the code).

Mind Booster Noori

- -- /* *************************************************************** */
   Marcos Daniel Marado Torres       AKA        Mind Booster Noori
   http://student.dei.uc.pt/~marado   -   address@hidden
   () Join the ASCII ribbon campaign against html email, Microsoft
   /\ attachments and Software patents.   They endanger the World.
   Sign a petition against patents:  http://petition.eurolinux.org
/* *************************************************************** */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBFJJ2mNlq8m+oD34RAldIAKDARfILrsuSK0W3FT3p1NvAHCDDyACg2/jV
3r7vHtEhOVhYz0SVaF7eWP4=
=dv2A
-----END PGP SIGNATURE-----





reply via email to

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