| Summary: | glibc-2.4 does not allow nptl for arm targets | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | August Hörandl <hoea> |
| Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hoea |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
/var/log/portage/cross-arm-softfloat-linux-gnu-info.log
/var/log/portage/cross-arm-softfloat-linux-gnu-glibc.log |
||
|
Description
August Hörandl
2006-03-23 13:34:41 UTC
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 |