From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12589 invoked by alias); 21 Mar 2011 06:46:43 -0000 Received: (qmail 12577 invoked by uid 22791); 21 Mar 2011 06:46:41 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Mon, 21 Mar 2011 06:46:37 +0000 From: "Denis.Excoffier at airbus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/44107] libstdc++ (dylib) is built with an erroneous dependency towards /usr/lib X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Denis.Excoffier at airbus 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.1 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: Mon, 21 Mar 2011 08:18: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-03/txt/msg02172.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107 --- Comment #13 from Denis Excoffier 2011-03-21 06:46:26 UTC --- (In reply to comment #12) > (In reply to comment #11) > > (In reply to comment #10) > > > (In reply to comment #8) > > So, my question is "does version 'x' work without a DYLD_LIBRARY_PATH set?" > > (that tells us if we have a way forward) > duh ... make that version 'y'. If you take the pure distribution gcc-4.6.0-RC-20110314 and apply the two patches (the patch attached in #4 and included in #5), then - you can bootstrap without error (i can say for C and C++ for the time being) - the xerces-c library compiles ok - my C++ program compiles ok - my C++ program executes ok with no DYLD_LIBRARY_PATH needed - all the dylibs and executable around carry a dependency towards /usr/lib/libgcc_s.1.dylib