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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-28 13:46:06 
UTC ---
(In reply to comment #3)
> Please specify the linker you are using and compile-flags you are using to
> build SPEC - you should know the information you gave is not enough to
> reproduce the problem.

I used

-DSPEC_CPU -DNDEBUG   -O2 -ffast-math -fwhole-program -flto=jobserver
-fuse-linker-plugin   -DSPEC_CPU_LP64  -fno-strict-aliasing

I got the same error with gold 1.11 from CVS:

# /export/regression/rrs/169284/usr/bin/g++ -B./ -O2 -ffast-math
-fwhole-program -flto=jobserver -fuse-linker-plugin  -DSPEC_CPU_LP64       
changesoplex.o didxset.o dsvector.o dvector.o enter.o example.o factor.o
forest.o idxset.o leave.o lpcolset.o lprow.o lprowset.o message.o mpsinput.o
nameset.o slufactor.o solve.o soplex.o spxaggregatesm.o spxbasis.o spxbounds.o
spxchangebasis.o spxdefaultpr.o spxdefaultrt.o spxdefines.o spxdesc.o
spxdevexpr.o spxequilisc.o spxfastrt.o spxgeneralsm.o spxharrisrt.o
spxhybridpr.o spxid.o spxio.o spxlp.o spxlpfread.o spxmpsread.o spxmpswrite.o
spxparmultpr.o spxquality.o spxredundantsm.o spxrem1sm.o spxscaler.o spxshift.o
spxsolve.o spxsolver.o spxstarter.o spxsteeppr.o spxsumst.o spxvecs.o
spxvectorst.o spxweightpr.o spxweightst.o ssvector.o svector.o svset.o timer.o
unitvector.o update.o updatevector.o vector.o vsolve.o                     -o
soplex
/usr/local/bin/ld: /tmp/ccZ4RILg.ltrans8.ltrans.o: in function non-virtual
thunk to
soplex::SoPlex::~SoPlex():ccZ4RILg.ltrans8.o(.text._ZN6soplex6SoPlexD1Ev+0x8):
error: undefined reference to '.LTHUNK0.11251'
collect2: ld returned 1 exit status

GCC is configured to use ppl-0.11 and cloog-0.16.1 with

 --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared
--enable-threads=posix --enable-haifa --enable-checking
--enable-languages=c,c++,fortran --enable-cloog-backend=isl
--with-ppl-include=/opt/gnu/include --with-ppl-lib=/opt/gnu/lib64
--with-cloog-include=/opt/gnu/include --with-cloog-lib=/opt/gnu/lib64

Reply via email to