Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 430896

Summary: sys-libs/glibc-2.15-r2 fails to configure ("ld too old"), binutils with --enable-gold=default
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
configure log
emerge --info

Description Andreas K. Hüttel archtester gentoo-dev 2012-08-11 09:09:48 UTC
Created attachment 320978 [details]
build log

checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as... 2.21.1, ok
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld... v. ?.??, bad
...
*** These critical programs are missing or too old: ld
*** Check the INSTALL file for required versions.
 * ERROR: sys-libs/glibc-2.15-r2 failed (compile phase):
 *   failed to configure glibc
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-08-11 09:10:33 UTC
Created attachment 320980 [details]
configure log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-08-11 09:11:40 UTC
Created attachment 320982 [details]
emerge --info

Note that binutils was updated later during the same emerge run.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-08-11 09:15:46 UTC
(In reply to comment #2)
> Created attachment 320982 [details]
> emerge --info
> 
> Note that binutils was updated later during the same emerge run.

Which however does not improve the situation.

(I am using --enable-gold=default on binutils, so ld is the gold linker.)

checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/as... 2.22, ok
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld... v. ?.??, bad


porto ~ # ld --version
GNU gold (GNU Binutils 2.22) 1.11
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2012-08-11 12:49:57 UTC

*** This bug has been marked as a duplicate of bug 269274 ***