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

Reply via email to