This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/36647] New: configure script can not find out version of GNU ld 2.18


gcc-4.3.1/libgomp/configure and gcc-4.3.1/libstdc++-v3/configure
can not find out version of ld 2.18 (from GNU Binutils 2.18)

I have GNU ld 2.18 but when compiling gcc I get messages:
checking for ld version... 1800
...
and
configure: WARNING: === Linker version 1800 is too old for
...

I found that ld version is determined by (following lines from configure
scripts mentioned above)
...
    ldver=`$LD --version 2>/dev/null | head -1 | \
           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*)
\)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
...

That gives:
$ echo $ldver
GNU ld (GNU Binutils) 2.18

whereas $ldver should be "2.18"


-- 
           Summary: configure script can not find out version of GNU ld 2.18
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: YLitvinenko at astana dot oilfield dot slb dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36647


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]