[Bug libstdc++/5291] Bad reference to build directory in libstdc++.la

Ralf dot Wildenhues at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 28 16:53:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list