This is the mail archive of the libc-help@sourceware.org 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]

[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
--


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