# FEATURES="-test" crossdev -t armv5te-softfloat-linux-gnueabi checking for autoconf... autoconf checking whether autoconf works... yes configure: error: *** These critical programs are missing or too old: as ld *** Check the INSTALL file for required versions. * ERROR: cross-armv5te-softfloat-linux-gnueabi/glibc-2.9_p20081201-r3 failed: * failed to configure glibc * * Call stack: I think this code from configure.ac is the culpit: # Accept binutils 2.13 or newer. AC_CHECK_PROG_VER(AS, $AS, --version, [GNU assembler.* \([0-9]*\.[0-9.]*\)], [2.1[3-9]*], AS=: critic_missing="$critic_missing as") AC_CHECK_PROG_VER(LD, $LD, --version, [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")
We already have a patch for this problem in glibc-2.10.1-patches-3: 6705_all_binutils-2.20-compat.patch
(In reply to comment #1) > We already have a patch for this problem in glibc-2.10.1-patches-3: > > 6705_all_binutils-2.20-compat.patch I'm using binutils[gold], and the patch does not work... I get this when checking for ld --version: ## checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld... v. ?.??, bad ## $ ld --version GNU gold (GNU Binutils 2.20) 1.9 ...
Same here. Franz, are you crosscompiling for ARM as well?
(In reply to comment #3) > Same here. > > Franz, are you crosscompiling for ARM as well? > No, just compiling on/for my amd64 (local).
Created attachment 209203 [details, diff] fixes 2.1[3-9]* as ld test for binutils 2.20
(In reply to comment #5) > Created an attachment (id=209203) [details] > fixes 2.1[3-9]* as ld test for binutils 2.20 > To use it: mkdir glibc-2.9-patches-6 cd glibc-2.9-patches-6 cat xfvj /usr/portage/distfiles/glibc-2.9-patches-6.tar.bz2 cp /usr/portage/distfiles/glibc-2.9-patches-6.tar.bz2 patches tar cfvj /usr/portage/distfiles/glibc-2.9-patches-6.tar.bz2 * change to dir with Mainfest file /usr/local/portage/layman/sunrise/cross-arm-softfloat-linux-gnueabi/glibc remove the "DIST glibc-2.9-patches-6.tar.bz2" entry and use "ebuild glibc-2.9_p20081201-r3.ebuild digest". Now it worK's again.
*** Bug 291731 has been marked as a duplicate of this bug. ***
added patch from 2.10 patchset to 2.9
*** Bug 292135 has been marked as a duplicate of this bug. ***
libpng upgraded in todays sync, during revdep-rebuild --library libpng12.so.0 glibc was added to the rebuild list. It can't be done due to the same error as yours: checking whether autoconf works... yes configure: error: *** These critical programs are missing or too old: as ld *** Check the INSTALL file for required versions. * ERROR: sys-libs/glibc-2.9_p20081201-r2 failed: * failed to configure glibc versions: [ebuild R ] sys-devel/binutils-2.20.1-r1 USE="nls -multislot -multitarget -test -vanilla" 0 kB [ebuild R ] sys-libs/glibc-2.9_p20081201-r2 USE="gd glibc-omitfp nls -debug (-hardened) (-multilib) -profile (-selinux) -vanilla" 0 kB [ebuild R ] sys-devel/gcc-4.3.4 USE="altivec fortran gtk mudflap nls nptl objc objc++ objc-gc -bootstrap -build -doc (-fixed-point) -gcj (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -openmp -test -vanilla" 0 kB
glibc-2.11.2 is stable now. install that.