From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6523 invoked by alias); 4 Apr 2013 16:52:40 -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 Received: (qmail 6476 invoked by uid 48); 4 Apr 2013 16:52:35 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/56840] a.out aborts instead of catching exception with -flto and -static-libstdc++ Date: Thu, 04 Apr 2013 16:52: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: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status CC Resolution 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 X-SW-Source: 2013-04/txt/msg00441.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56840 Ian Lance Taylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ian at airs dot com Resolution| |FIXED --- Comment #3 from Ian Lance Taylor 2013-04-04 16:52:35 UTC --- Yes, it's a bug in gold in the handling of .eh_frame sections in archives when using a plugin. I just committed a patch to gold: http://sourceware.org/ml/binutils/2013-04/msg00026.html . Unfortunately this patch probably won't be in a released version of the GNU binutils for a while. I don't know why this worked with GCC 4.7. I haven't looked into it.