Building glibc from CVS on x86 Ubuntu Hardy

Ryan S. Arnold rsa@us.ibm.com
Sat May 3 00:33:00 GMT 2008


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



More information about the Libc-help mailing list