Re: Compile error with gcc 4.4.0

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Tue, 14 Apr 2009 11:08:43 +0200


Using the Fink gcc version 4.4.0 20090327 (prerelease) on Intel I can compile the ROOT trunk. However, we got a report of an internal compiler failure on PPC.

Clearly YMMV.

Cheers, Fons.

Johan Bregeon wrote:

> Ok, thank you very much for these information.
> gcc 4.4.0-0.xx is the current compiler of Fedora 11 Beta.
> I'll use some official gcc release.
> Best Regards,
> Johan
> 
> Axel Naumann wrote:

>> Hi Johan,
>>
>> there is no official release of GCC 4.4 yet, so whatever Red Hat
>> released is their home grown thing. And apparently it has a bug, or
>> there is an issue with the setup. As a hint: I have the requested
>> symbol in lib/libRIO.so; it's generated (as a weak symbol) from
>> io/io/src/TStreamerInfoReadBuffer.cxx, both the function definition
>> and the template instantiation happen in there, so it's also in
>> io/io/src/TStreamerInfoReadBuffer.o.
>>
>> Cheers, Axel.
>>
>> Johan Bregeon wrote on 04/09/2009 06:30 PM:
>>> Hi,
>>> I am using gcc version 4.4.0 20090330 (Red Hat 4.4.0-0.31) (GCC)
>>> and have a compile error with the head of svn, with the dev 5.23.00
>>> and with the prod v5.22.00 versions.
>>>
>>> > cat config.status
>>> --enable-table --disable-xrootd --enable-qt --enable-qtgsi
>>> --with-qt-incdir=/usr/include --with-qt-libdir=/usr/lib
>>> --prefix=/usr/local/root/head
>>>
>>> make and after some time...
>>>
>>> g++ -m32 -O2 -o bin/hadd main/src/hadd.o \
>>> -Llib -lCore -lCint -lRIO -lNet -lHist -lGraf
>>> -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -lm -ldl
>>> -pthread -rdynamic
>>> lib/libRIO.so: undefined reference to `int
>>> TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int,
>>> int, int)'
>>> collect2: ld returned 1 exit status
>>> make: *** [bin/hadd] Error 1
>>> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
>>>
>>> did anybody compiled root with gcc 4.4.0 ?
>>>
>>> Thanks
>>> Johan
>>>

>
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Tue Apr 14 2009 - 11:08:55 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 14 2009 - 17:50:02 CEST