linuxthreads without tls currently broken on ppc
Jakub Bogusz
qboosh@pld-linux.org
Tue Jan 13 20:23:00 GMT 2004
Building CVS glibc on ppc platform with linuxthreads without tls fails
because of unresolved "MULTIPLE_THREADS_OFFSET" symbol.
This is caused by change from rev 1.5 of
libc/linuxthreads/sysdeps/powerpc/tcb-offsets.sym file - when generating
file for compiler with gen-as-const.awk script, "void dummy(void) {" is
inserted in place of "-- Abuse tls.h..." comment, i.e. inside #ifdef
USE_TLS - thus causing compilation failure if TLS is disabled.
This can be fixed in two ways:
- either readd "--" separator line before #ifdef (so whole conditional
part would be inside dummy() body)
- or remove "-- Abuse..." comment and place "--" separator after
"#endif", just before MULTIPLE_THREADS_OFFSET definition (so
whole conditional part would be before dummy() definition, and
only MULTIPLE... definition would be inside dummy() body).
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
More information about the Libc-alpha
mailing list