This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Building glibc from CVS on x86 Ubuntu Hardy
- From: "Ryan S. Arnold" <rsa at us dot ibm dot com>
- To: Reuben Thomas <rrt at sc3d dot org>
- Cc: libc-help at sourceware dot org
- Date: Fri, 02 May 2008 19:33:25 -0500
- Subject: Re: Building glibc from CVS on x86 Ubuntu Hardy
- Organization: IBM
- References: <alpine.DEB.1.00.0805022336320.10349@canta>
- Reply-to: rsa at us dot ibm dot com
On Fri, 2008-05-02 at 23:39 +0100, Reuben Thomas wrote:
> Hi,
>
> I just made an anon checkout of glibc and when I try to build it with
>
> ../glibc/configure --prefix=/home/rrt/local
> make
Rueben, your configure statement is inadequate. I recently built cvs
head on ubuntu so try this:
CC='gcc -m32 -march=i486' \
CXX='gcc -m32 -march=i486' \
CFLAGS='-O2 -g -fno-stack-protector' \
../glibc/configure \
--prefix="/home/rrt/local/" \
--with-tls \
--enable-add-ons=nptl \
--with-__thread \
--enable-shared \
--without-cvs \
> _configure 2>&1
Try it without the -fno-stack-protector too to see if that works.
Regards,
Ryan