From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9154 invoked by alias); 28 Jan 2011 13:46:34 -0000 Received: (qmail 9141 invoked by uid 22791); 28 Jan 2011 13:46:32 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Jan 2011 13:46:27 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/47497] [4.6 Regression] SPEC CPU 2006 failed to link with LTO X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 28 Jan 2011 14:08:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg03123.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47497 --- Comment #5 from H.J. Lu 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