From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15398 invoked by alias); 26 Jun 2011 17:38:03 -0000 Received: (qmail 15389 invoked by uid 22791); 26 Jun 2011 17:38:02 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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; Sun, 26 Jun 2011 17:37:48 +0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/44107] gcc emits frame (epilogue) info incompatible with the darwin {8,9}-unwinder,10-compacter X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Target Status Last reconfirmed Component CC Host AssignedTo Ever Confirmed Summary Build 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: Sun, 26 Jun 2011 17:38: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-06/txt/msg02253.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc-apple-darwin9.8.0 |*-apple-darwin{8,9,10} Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2011.06.26 17:37:00 Component|bootstrap |target CC| |dominiq at lps dot ens.fr Host|powerpc-apple-darwin9.8.0 |*-apple-darwin{8,9,10} AssignedTo|unassigned at gcc dot |iains at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 Summary|libstdc++ (dylib) is built |gcc emits frame (epilogue) |with an erroneous |info incompatible with the |dependency towards /usr/lib |darwin | |{8,9}-unwinder,10-compacter Build|powerpc-apple-darwin9.8.0 |*-apple-darwin{8,9,10} --- Comment #16 from Iain Sandoe 2011-06-26 17:37:00 UTC --- This bug has been around since part way through 4.5. Unfortunately, it is somewhat hidden in the test-suite since the latter interposes the newly-built libgcc ahead of the system version (because DYLD_LIBRARY_PATH is set to point to ./gcc, of necessity). There are two steps needed to deal with this fully: (a) fix things so we don't emit epilogue info in unwind frames for darwin 8,9 and 10 (compacter). The patch currently attached is OK on 4.6.x - but the emitting of unwind frames has been recently vec-ified which means it will need some re-work for trunk. (b) fix the darwin libgcc build process so that we only export the _ext symbols from newly-built libgcc when this is only supporting the ext. * (b) will also solve the library ordering issues when -{force}_flat_namespace is used. I have another patch in progress that is a first attempt at (b) - (not yet ready to post).