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]

[powerpc64] compilation --without-tls problems


linuxthreads/sysdeps/powerpc/tcb-offsets.sym need a tcbhead_t definition if  
USE_TLS is not defined. But linuxthreads/sysdeps/powerpc/tls.h only defines  
tcbhead_t if HAVE_TLS_SUPPORT is defined or if  __powerpc64__ is not defined.

This causes the build to fail:

 gawk 
-f ../scripts/gen-as-const.awk ../linuxthreads/sysdeps/powerpc/tcb-offsets.sym 
| powerpc64-linux-gnu-gcc -S 
-o /home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc/tcb-offsets.hT3 
-std=gnu99 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings 
-mnew-mnemonics      -I../include -I. 
-I/home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc/csu 
-I.. -I../libio  
-I/home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc 
-I../sysdeps/powerpc/powerpc64/elf -I../sysdeps/powerpc/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64 
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv 
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc64 
-I../linuxthreads/sysdeps/powerpc 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc64 
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/powerpc 
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common 
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv 
-I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/powerpc/powerpc64/fpu -I../sysdeps/powerpc/powerpc64 
-I../sysdeps/wordsize-64 -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc 
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc 
-isystem /home/rafael/crosstool/powerpc64-linux-gnu/gcc-libc/lib/gcc/powerpc64-linux-gnu/3.4.0/include 
-isystem /home/rafael/crosstool/powerpc64-linux-gnu/gcc-libc/powerpc64-linux-gnu/include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DHAVE_INITFINI -x c - 
-MD -MP 
-MF /home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc/tcb-offsets.h.dT 
-MT 
'/home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc/tcb-offsets.h.d /home/rafael/temp/crosstool-0.27/build/powerpc64-linux-gnu/gcc-libc/build-glibc/tcb-offsets.h'
<stdin>: In function `dummy':
<stdin>:11: error: `tcbhead_t' undeclared (first use in this function)
<stdin>:11: error: (Each undeclared identifier is reported only once
<stdin>:11: error: for each function it appears in.)
<stdin>:11: error: syntax error before ')' token

Thanks for any help.

Rafael Ávila de Espíndola


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