This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]