From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24413 invoked by alias); 9 May 2012 10:40:51 -0000 Received: (qmail 24403 invoked by uid 22791); 9 May 2012 10:40:50 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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; Wed, 09 May 2012 10:40:37 +0000 From: "vincenzo.innocente at cern dot ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/53282] lto and visibility-inlines-hidden makes "wrongly" hidden symbols and in a way that depends on the order of the input compilation units Date: Wed, 09 May 2012 10:46:00 -0000 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: blocker X-Bugzilla-Who: vincenzo.innocente at cern dot ch X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-05/txt/msg00979.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53282 --- Comment #10 from vincenzo Innocente = 2012-05-09 10:40:08 UTC --- On 9 May, 2012, at 12:15 PM, rguenth at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53282 >=20 > --- Comment #9 from Richard Guenther 2012-05= -09 10:15:21 UTC --- > Btw, the testcase does not reproduce for me. What binutils version and w= hich > linker do you use? Do you actually end up using -fuse-linker-plugin? Be= cause > it reproduces for me with -fno-use-linker-plugin only (a path that is pro= bably > not very well tested these days =E2=80=A6)we use ld -v GNU gold (GNU Binutils 2.21.1) 1.11 and we do not use explicitely -fuse-linker-plugin, gcc is configured as follow c++ -v Using built-in specs. COLLECT_GCC=3Dc++ COLLECT_LTO_WRAPPER=3D/afs/cern.ch/user/i/innocent/w3/gcc47slc5/libexec/gcc= /x86_64-unknown-linux-gnu/4.7.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./configure --enable-languages=3Dc,c++,fortran --disable-multilib --enable-gold=3Dyes --disable-nls --enable-lto --with-mpc=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-gmp=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-mpfr=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --prefix=3D/afs/cern.ch/user/i/innocent/w3/gcc47slc5 : (reconfigured) ./con= figure --enable-languages=3Dc,c++,fortran --disable-multilib --enable-gold=3Dyes --disable-nls --enable-lto --with-mpc=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-gmp=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-mpfr=3D/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --prefix=3D/afs/cern.ch/user/i/innocent/w3/gcc47slc5 Thread model: posix gcc version 4.7.1 20120508 (prerelease) [gcc-4_7-branch revision 187276] (G= CC)=20 >