This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [PowerPC] private futex build error
- From: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sun, 27 Apr 2008 21:40:19 -0500
- Subject: Re: [PowerPC] private futex build error
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=k+21YVF4n2DjJ/0rQ9Bx7IPszFGRAn/pnRJ/J+/kozc=; b=FBrh6g1ExYtH9DVuDf7uAzlDcOj2LgGrQNpaMjM7eUSTWB/njqEBMUB1eDfje1kYcVxOYNiRpEbdV17cnU3uznKHv1wMY4oBCmlzk7hFQwdumQiOqFOIKhh0VFFnvLXbZl1LQ8mNv9y6RTGHjuL1iRHjsz9AC/oJiIhh5frxZuY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LOCDZHWAjfjDwAEoxogGGIq+zWebfARu3sFSfAu9GIAOfb0BDvGVVkr/FYJDjuN2LrpYLi9dZ3afaUP1HARntY64IVugftk+Td/zd5JNfqoIGPxJK1XQ5vedafZje4rDkk35DgHMmwpS7y36w3sSCAC8bU7yyFdZPskWC1lYxxg=
- References: <20080428.112934.71108733.kaminaga@sm.sony.co.jp>
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