[parisc-linux] glibc-2.3.6 + carlos tls patch?
Joel Soete
soete.joel at tiscali.be
Fri Feb 17 10:31:31 MST 2006
Hello pa*,
I am trying to apply latest cvs.p-l.org glibc tls (according to lsdiff
glibc-hppa-tls-2005-04-05.diff Carlos' patch).
In addition to previous mentioned patch (related to gcc-4 pb), I reach to
rebuild this pkg with more or less success:
make -k check
# grep Err ../../Logs/glibc-2.3.6-1.3.Check
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/localedata/sort-test.out]
Error 1
make[1]: *** [localedata/tests] Error 2
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/math/test-float.out]
Error 1
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/math/test-double.out]
Error 1
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/math/test-idouble.out]
Error 1
make[1]: *** [math/tests] Error 2
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/posix/tst-regex2.out]
Error 1
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/posix/tst-rxspencer.out]
Error 139
make[2]:
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/posix/annexc.out]
Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/linuxthreads/tst-attr1.out]
Error 1
make[1]: *** [linuxthreads/tests] Error 2
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/rt/tst-timer.out]
Error 137
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/rt/tst-aio4.out]
Error 1
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/rt/tst-timer4.out]
Error 1
make[1]: *** [rt/tests] Error 2
make[2]: ***
[/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/build-tree/hppa-libc/elf/tst-execstack.out]
Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2
(Just still have a tst-regex hanging in infinit loop?)
Unfortunately, it is without tls support, though:
dpkg-buildpackage
[...]
(exec 3>&1; exit `( ( ( cd build-tree/hppa-libc && CC="gcc-4.0"
AUTOCONF=false /CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6
/build-tree/glibc-2.3.6/configure --host=hppa-linux-gnu
--build=$configure_build --prefix=/usr --without-cvs --enable-add-ons=libidn
,"linuxthreads " --without-selinux
--with-headers=/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/debian/include
--enable-kernel=2.2.0
) 2>&1 3>&-; echo $? >&4) | tee -a
/CAD/parisc-linux/Dpkg/dpkg-work/glibc-2.3.6/log-build-hppa-linux-gnu-libc
>&3) 4>&1`)
[...]
checking size of long double... 8
running configure fragment for sysdeps/hppa/elf
checking for hppa TLS support... no
running configure fragment for libidn/sysdeps/unix
[...]
A look in config.log:
[...]
configure:7460: result: running configure fragment for sysdeps/hppa/elf
configure:7: checking for hppa TLS support
configure:44: gcc-4.0 -c -g -O2 conftest.s 1>&5
conftest.s: Assembler messages:
conftest.s:7: Error: can't resolve `foo' {.tdata section} - `$tls_gdidx$'
{*UND* section}
conftest.s:8: Error: can't resolve `foo' {.tdata section} - `$tls_gdidx$'
{*UND* section}
conftest.s:13: Error: can't resolve `foo' {.tdata section} - `$tls_ldidx$'
{*UND* section}
conftest.s:15: Error: can't resolve `foo' {.tdata section} - `$tls_ldidx$'
{*UND* section}
conftest.s:16: Error: can't resolve `foo' {.tdata section} - `$tls_dtpoff$'
{*UND* section}
conftest.s:21: Error: can't resolve `foo' {.tdata section} - `$tls_ieoff$'
{*UND* section}
conftest.s:22: Error: can't resolve `foo' {.tdata section} - `$tls_ieoff$'
{*UND* section}
conftest.s:27: Error: can't resolve `foo' {.tdata section} - `$tls_leoff$'
{*UND* section}
conftest.s:28: Error: can't resolve `foo' {.tdata section} - `$tls_leoff$'
{*UND* section}
configure:47: $? = 1
configure:55: result: no
configure:7460: result: running configure fragment for libidn/sysdeps/unix
mmm, grab the test and try with gcc-4.1:
[...]
configure:7460: result: running configure fragment for sysdeps/hppa/elf
configure:7: checking for hppa TLS support
configure:44: gcc-4.0 -c -g -O2 conftest.s 1>&5
conftest.s: Assembler messages:
conftest.s:7: Error: can't resolve `foo' {.tdata section} - `$tls_gdidx$'
{*UND* section}
conftest.s:8: Error: can't resolve `foo' {.tdata section} - `$tls_gdidx$'
{*UND* section}
conftest.s:13: Error: can't resolve `foo' {.tdata section} - `$tls_ldidx$'
{*UND* section}
conftest.s:15: Error: can't resolve `foo' {.tdata section} - `$tls_ldidx$'
{*UND* section}
conftest.s:16: Error: can't resolve `foo' {.tdata section} - `$tls_dtpoff$'
{*UND* section}
conftest.s:21: Error: can't resolve `foo' {.tdata section} - `$tls_ieoff$'
{*UND* section}
conftest.s:22: Error: can't resolve `foo' {.tdata section} - `$tls_ieoff$'
{*UND* section}
conftest.s:27: Error: can't resolve `foo' {.tdata section} - `$tls_leoff$'
{*UND* section}
conftest.s:28: Error: can't resolve `foo' {.tdata section} - `$tls_leoff$'
{*UND* section}
configure:47: $? = 1
configure:55: result: no
configure:7460: result: running configure fragment for libidn/sysdeps/unix
Too bad.
Even though, I trusted that gcc and binutil tls stuff was already uptream?
Or do I need to rebuild related pkg with some specific option or apply some
patch from somewhere?
TIA for advise,
Joel
-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book.
More information about the parisc-linux
mailing list