This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
[PowerPC] private futex build error
- From: Hiroki Kaminaga <kaminaga at sm dot sony dot co dot jp>
- To: libc-help at sourceware dot org
- Cc: kaminaga at sm dot sony dot co dot jp
- Date: Mon, 28 Apr 2008 11:29:34 +0900 (JST)
- Subject: [PowerPC] private futex build error
Hi,
# Maybe the first to ask about glibc build problem on this list?!
while compiling glibc-2.7 for powerpc, I met below build error:
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/powerpc/tcb-offsets.sym \
| powerpc-linux-gcc -S -o /var/rpm/BUILD/glibc-2.7/objdir/tcb-offsets.hT3 -std=gnu99 ...
<stdin>: In function 'dummy':
<stdin>:13: error: 'struct <anonymous>' has no member named 'private_futex'
make[2]: *** [/var/rpm/BUILD/glibc-2.7/objdir/tcb-offsets.h] Error 1
This seems to happen even on snapshot of 20080421.
Without the --enable-kernel option, or with --enable-kernel option but
lower than 2.6.22, build was OK.
I'm not sure about the correct fix, is adding private_futex member in
tcbhead_t at nptl/sysdeps/powerpc/tls.h a correct fix?
Thanks in Advance,
(Hiroki Kaminaga)
t
--