This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: errors while building glibc-2.7
- From: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- To: "Oussama Chammam" <ou_cha at hotmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Tue, 29 Jul 2008 10:03:24 -0500
- Subject: Re: errors while building glibc-2.7
- 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d5O2DNaVpbf4/+IZSnAxLgCTSDbNO0Zef9BkO2m+V7c=; b=pyB3AfnDDdyfXnmi/0NQDiDkglG+HLToRCn6um8ojlKgFRSIhzVwNyMNCrLthOg84X oo3e4/gTXKgRxSs+rnu1rG5mp/S9oMeldeXzrgnBQs1A/BEFF+rrn3ALCuUEFJ4yuImX U4lQ9XlV1Mzk6EmJF1G8el5kTKiX7Zdwihx7s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SlcKg2V2YgJicaOTOoBXSnDlJXkv+PEWyYyeqkSOnYlUxot3Owp0/t2c5qci/zgrQE uI22Kuz+Oc8chPha95XJdzlrNWy89PG1MTK4VOyicgI59eLmFuxAy25fUDyWAWE3dejq VzRCmDqNZsMAe12pKgBZcWRneauEFWN4QbmbI=
- References: <BAY124-W423731171924E5132E367DE0820@phx.gbl>
On Tue, Jul 29, 2008 at 5:27 AM, Oussama Chammam <ou_cha@hotmail.com> wrote:
> I am trying to build glibc-2.7 but it fails to make, I am building it with the glibc-libidn-2.7 addon.
> wehen I type "make" I got following error at the end:
Oussama,
Why don't you use glibc 2.8 instead. GLIBC 2.7 is the last tar
created but Ulrich and company have stopped creating tar releases,
relying instead on CVS branches for new releases. The latest is 2.8
and you can get it with the following:
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc login
{enter "anoncvs" as the password}
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co -r
glibc-2_8 -P libc
> /media/sda1/usr/src/glibc-build/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
> /media/sda1/usr/src/glibc-build/elf/dl-allobjs.os:/media/sda1/usr/src/glibc-2.7/elf/rtld.c:644: first defined here
> /media/sda1/usr/src/glibc-build/libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object':
> /media/sda1/usr/src/glibc-2.7/elf/dl-addr.c:157: multiple definition of `_dl_addr_inside_object'
> /media/sda1/usr/src/glibc-build/elf/dl-allobjs.os:/media/sda1/usr/src/glibc-2.7/elf/dl-open.c:699: first defined here
I think something is wrong with your configure fragment.
> when I type "make test", I got the following error:
There is no 'make test'.
> when I type "make check", I got the following error:
If 'make' didn't pass then 'make check' surely won't pass.
> I configured glibc by typing:
>
> ../glibc-2.7/configure --enable-add-ons --prefix=/usr
> and have even tried:
> ../glibc-2.7/configure --disable-stackguard-randomization --enable-old-ssp-compat --enable-omitfp --enable-add-ons=nptl --enable-kernel=linux-2.6.26 --without-selinux --without-cvs --enable-bind-now --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-profile --with-gd --with-headers=/media/sda1/usr/src/linux-2.6.26/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc
This doesn't look sufficient. I believe you'll need some indication
of -march for x86_64. --enable-add-ons as a bare switch doesn't work
either (it'll complain about 'crypt'). You'll want to use
--enable-add-ons=nptl. If libidn is really an 'addon' then you'll
need: --enable-add-ons=nptl,libidn
> or may that has something with the glibc-libidn-2.7 addon??
Where'd you get this libidn add-on?
Perhaps someone with some knowledge of building for x86_64 can help
out with a valid configure fragment.
Regards,
Ryan S. Arnold