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]

Re: [PowerPC] private futex build error


On Sun, Apr 27, 2008 at 9:29 PM, Hiroki Kaminaga <kaminaga@sm.sony.co.jp> wrote:
>
> 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?

Hi Hiroki,

Thanks for posting to libc-help.  I deal with build for PowerPC all
the time so I should be able to take a look in the morning  (i.e.
about 12 hours).

Regards,
Ryan S. Arnold


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