http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49363

--- Comment #14 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 
2012-05-08 09:18:01 UTC ---
added your patch on top of
c++ -v
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/afs/cern.ch/user/i/innocent/w2/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/afs/cern.ch/user/i/innocent/w2
--enable-languages=c,c++,fortran -enable-gold=yes --enable-lto
--with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64
--with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64
--enable-cloog-backend=isl --with-cloog=/usr/local
--with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native'
-enable-libitm -disable-multilib : (reconfigured) ./configure
--prefix=/afs/cern.ch/user/i/innocent/w2 -enable-gold=yes --enable-lto
--with-build-config=bootstrap-lto --with-gmp-lib=/usr/local/lib64
--with-mpfr-lib=/usr/local/lib64 -with-mpc-lib=/usr/local/lib64
--enable-cloog-backend=isl --with-cloog=/usr/local
--with-ppl-lib=/usr/local/lib64 CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden -march=native'
-enable-libitm -disable-multilib CC=gcc CXX=g++
--enable-languages=c,c++,fortran,lto --no-create --no-recursion
Thread model: posix
gcc version 4.8.0 20120508 (experimental) [trunk revision 187276] (GCC) 

configured as above

ad got

../.././gcc/multiversion.c:613: error: undefined reference to
'cgraph_add_to_same_comdat_group'
collect2: ld returned 1 exit status
make[3]: *** [lto1] Error 1
make[3]: *** Waiting for unfinished jobs....
../.././gcc/multiversion.c:613: error: undefined reference to
'cgraph_add_to_same_comdat_group'
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
../.././gcc/multiversion.c:613: error: undefined reference to
'cgraph_add_to_same_comdat_group'
collect2: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
rm gcov.pod cpp.pod gfdl.pod fsf-funding.pod gcc.pod
make[3]: Leaving directory
`/home/data/newsoft/gcc-trunk/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/data/newsoft/gcc-trunk'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/data/newsoft/gcc-trunk'
make: *** [all] Error 2

Reply via email to