On Sun, Jun 29, 2008 at 01:46:55PM +0100, Stu Teasdale wrote:
> On Mon, Jun 23, 2008 at 05:15:42AM -0500, Carlo Marcelo Arenas Belon wrote:
> > On Sun, Jun 22, 2008 at 09:10:41PM -0500, Carlo Marcelo Arenas Belon wrote:
> > > 
> > > * apparently not able to use C99 with GNU extensions :
> > > 
> > > i486-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -O0 -I../lib
> > > -I../gmond -I../include  -02 -Wall -fno-strict-aliasing -Wall 
> > > -D_REENTRANT -MT
> > > type_hash.o -MD -MP -MF .deps/type_hash.Tpo -c -o type_hash.o type_hash.c
> > > i486-linux-gnu-gcc: unrecognized option '-02'
> > > type_hash.c:90: warning: C99 inline functions are not supported; using 
> > > GNU89
> > > type_hash.c:90: warning: to disable this warning use -fgnu89-inline or the
> > > gnu_inline function attribute
> > 
> > reproduced this with an x86/amd64 lenny installation and also with fedora 9.
> > it is a real warning that is probably not worded correctly and will be
> > triggered with gcc>=4.2 because the inline functions that were generated by
> > gperf are not static and therefore per C99 are not to be inlined as 
> > explained
> > here :
> > 
> >   http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00702.html
> 
> There are more major inline function problems when using gcc >=4.3:

guess that means that you finally got a build toolchain freeze based on gcc
4.3 for the next debian release?  what does it mean for the package freeze
then? and what for uploading ganglia packages for 3.1 to experimental?

> I've used -fgnu89-inline for now and it seems to haave worked.

and alternative will be to use the patches that correct this issue in trunk
and that correspond to commits: 1445,1446, 1471, 1472

Carlo

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to