This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
linuxthreads without tls currently broken on ppc
- From: Jakub Bogusz <qboosh at pld-linux dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 13 Jan 2004 21:27:21 +0100
- Subject: linuxthreads without tls currently broken on ppc
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/