This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36880] New: binutils-2.18 ld version string has changed yielding libstdc++-v3 configure not identifying gnu ld and not applying linker map
- From: "bill at baddogconsulting dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2008 05:27:20 -0000
- Subject: [Bug libstdc++/36880] New: binutils-2.18 ld version string has changed yielding libstdc++-v3 configure not identifying gnu ld and not applying linker map
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
binutils-2.18 ld version string has changed yielding libstdc++-v3 configure not
identifying gnu ld and not applying linker map
Here's from acinclude.m4
# Start by getting the version number. I think the libtool test already
# does some of this, but throws away the result.
if test x"$with_gnu_ld" = x"yes"; then
changequote(,)t
ldver=`$LD --version 2>/dev/null | head -1 | \
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
If you change the sed to:
sed -e 's/GNU ld .* \([0-9.][0-9.]*\).*/\1/'`
It will work fine, binutils 2.18 ld --version nolonger has "version" in the
string.
--
Summary: binutils-2.18 ld version string has changed yielding
libstdc++-v3 configure not identifying gnu ld and not
applying linker map
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bill at baddogconsulting dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36880