From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18266 invoked by alias); 28 Feb 2006 16:29:14 -0000 Received: (qmail 18243 invoked by uid 48); 28 Feb 2006 16:29:10 -0000 Date: Tue, 28 Feb 2006 16:53:00 -0000 Message-ID: <20060228162910.18242.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/5291] Bad reference to build directory in libstdc++.la In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Ralf dot Wildenhues at gmx dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg03277.txt.bz2 List-Id: ------- Comment #16 from Ralf dot Wildenhues at gmx dot de 2006-02-28 16:29 ------- (In reply to comment #15) > > I see the same thing without the patch in the installed libstdc++.la. > The real kicker is that the -L's for the build directory come before > the -L's for the install directory. For an install, the order should > be reveresed. No. The link paths to the build tree should not be present at all. > > Also, there are an amazing number of -lm's and -lgcc_s's that are unnecessary. > It's my understanding that the extra -lm's and -lgcc_s's are added to > handle cyclical dependencies. These may not be present on all systems. Correct on both accounts. The repetitions are harmless as long as they do not pose a line length issue. I believe a newer Libtool should produce less of those. But it will (not yet) fix the build tree references issue. Cheers, Ralf -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5291