crossdev --target arm-softfloat-linux-gnu --------------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH: x86 * Target Portage ARCH: arm * Target System: arm-softfloat-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/arm-softfloat-linux-gnu * PORTAGE_TMPDIR: /var/tmp/cross/arm-softfloat-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ * Forcing the latest versions of binutils-config/gcc-config ... [ ok ] * Log: /var/log/portage/cross-arm-softfloat-linux-gnu-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-arm-softfloat-linux-gnu-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] * Log: /var/log/portage/cross-arm-softfloat-linux-gnu-linux-headers.log * Emerging cross-linux-headers ... [ ok ] * Log: /var/log/portage/cross-arm-softfloat-linux-gnu-glibc.log * Emerging cross-glibc ... * glibc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-arm-softfloat-linux-gnu-info.log * /var/log/portage/cross-arm-softfloat-linux-gnu-glibc.log
Created attachment 82964 [details] /var/log/portage/cross-arm-softfloat-linux-gnu-info.log logfile shows nptl nptlonly
Created attachment 82965 [details] /var/log/portage/cross-arm-softfloat-linux-gnu-glibc.log
downgrading to glibc 2.3.x fails, too: crossdev --l 2.3.6-r3 --target arm-softfloat-linux-gnu ..... In file included from dynamic-link.h:63, from dl-reloc.c:269: ../sysdeps/arm/dl-machine.h: In function '_dl_relocate_object': ../sysdeps/arm/dl-machine.h:362: error: invalid storage class for function 'fix_bad_pc24' make[2]: *** [/var/tmp/cross/arm-softfloat-linux-gnu/portage/glibc-2.3.6-r3/work/build-default-arm-softfloat-linux-gnu-linu xthreads/elf/dl-reloc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/cross/arm-softfloat-linux-gnu/portage/glibc-2.3.6-r3/work/glibc-2.3.6/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/cross/arm-softfloat-linux-gnu/portage/glibc-2.3.6-r3/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: cross-arm-softfloat-linux-gnu/glibc-2.3.6-r3 failed. Call stack: ebuild.sh, line 1573: Called dyn_compile ebuild.sh, line 982: Called src_compile glibc-2.3.6-r3.ebuild, line 1239: Called src_compile glibc-2.3.6-r3.ebuild, line 1250: Called toolchain-glibc_src_compile
run one of these: crossdev --target arm-softfloat-linux-gnu --l 2.4-r1 --g 4.1.0 --b 2.16.91.0.7 crossdev --target arm-softfloat-linux-gnu --l 2.3.6-r3 --g 3.4.6 --b 2.16.1-r2
crossdev --target arm-softfloat-linux-gnu --l 2.4-r1 --g 4.1.0 --b 2.16.91.0.7 fails because of nptl (which is set in /etc/make.conf) .... >>> checksums src_uri ;-) glibc-libidn-2.4.tar.bz2 >>> checksums src_uri ;-) glibc-2.4-patches-1.3.tar.bz2 >>> checksums src_uri ;-) glibc-fedora-20060306T1239.tar.bz2 * glibc-2.4 is nptl-only! !!! ERROR: cross-arm-softfloat-linux-gnu/glibc-2.4-r1 failed. Call stack: ebuild.sh, line 1589: Called dyn_setup ebuild.sh, line 694: Called pkg_setup !!! please add USE='nptl nptlonly' to make.conf !!! If you need support, post the topmost build error, and the call stack if relevant.
The glibc-2.4-r1 fail to compile even if 'nptl' and 'nptlonly' USE flags are set. I think the problem comes from the glibc-2.4-r1.ebuild file: glibc-2.4-r1.ebuild: [...] 1120 if want_linuxthreads ; then 1121 ewarn "glibc-2.4 is nptl-only!" 1122 [[ ${CHOST} == i386-* ]] && eerror "NPTL requires a CHOST of i486 or better" 1123 die "please add USE='nptl nptlonly' to make.conf" 1124 fi [...] I think the line 1123 should be removed: the 'nptl' USE flags is set by default in the Gentoo 2006 profile, and a check for the 'nptlonly' USE flag is already done line 1126.
no ... this is an arm specific issue
fixed in cvs