Red Hat Bugzilla – Bug 56072
libtool warnings from every C++ app
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
Every application using libtool and C++ gets the following warning during
libtool: link: warning: library
`/usr/lib/gcc-lib/i386-redhat-linux/3.1/libstdc++.la' was moved.
dependency_libs= in the file holds references to the build root:
-lm -lm -lm
-L/usr/lib/gcc-lib/i386-redhat-linux/3.1/../../.. -lgcc -lc
-lgcc -lm -lgcc -lc -lgcc'
points to the wrong place.
Affects libsupc++ as well.
perl -pi -e
Similarily, I think the loads of references to -lgcc should be replaced
with just one.
Alternatively, simply remove the *.la files, libtool sucks anyway, and
doesn't have much of a point on sane OSes. ;)
Version-Release number of selected component (if applicable):
Do you have a preprocessed testcase, please?
Oops, this was meant for different bug. Sorry.
.la files are already removed in my .spec file.
If your comment was meant for #56073, what exactly do you need? Something
using __attribute__ alias or something trying to link to it? I'm not familiar
with gcc __attribute__ internals.