Hello,
When compiling the glibc on ppc64 (Power5) (SLES9 or SLES10), TLS
(Thread-Local Storage) support is not available. (See details below).
Can you help understanding the problem ?
Thanks,
Tony
When being in the directory where are the source code of the glibc.
Example here below: 2.4
(Same problem with 2.3.4 and 2.3.6 .)
$ ./configure --enable-add-ons=nptl --with-tls --with-__thread
....
checking for powerpc64 TLS support... no
....
$ make
....
#error "TLS support is required."
Test for TLS support is done by the
sysdeps/powerpc/powerpc64/elf/configure
script of the glibc.
$ cat config.log
....
configure:7: checking for powerpc64 TLS support
configure:52: gcc -c -g -O2 conftest.s 1>&5
conftest.s: Assembler messages:
conftest.s:18: Error: syntax error; found `@' but expected `,'
conftest.s:18: Error: junk at end of line: `@toc'
conftest.s:24: Error: syntax error; found `@' but expected `,'
conftest.s:24: Error: junk at end of line: `@toc'
conftest.s:33: Error: syntax error; found `@' but expected `('
conftest.s:33: Error: junk at end of line: `@toc(2)'
configure:55: $? = 1
configure:63: result: no
....