From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27181 invoked by alias); 11 Oct 2012 19:10:28 -0000 Received: (qmail 27002 invoked by uid 48); 11 Oct 2012 19:10:03 -0000 From: "matt at use dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/53780] [l4.7.1 lto] linker fails with lto and "standard" object file Date: Thu, 11 Oct 2012 19:10: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: lto X-Bugzilla-Severity: minor X-Bugzilla-Who: matt at use dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC 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 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-10/txt/msg01113.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53780 Matt Hargett changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt at use dot net --- Comment #11 from Matt Hargett 2012-10-11 19:10:00 UTC --- I am also seeing the message: boost::exception_detail::clone_impl warning: relocation refers to discarded section in my final link of a large C++ program compiled with LTO (with boost not compiled as LTO). I tried compiling boost with LTO to work around the problem, but got an ICE instead (will file that later). Do the patches mentioned below (still) fix the problem in 4.7.x?