This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
glibc-2.3.4 test-installation.pl fails
- From: Markus Trenkwalder <e9426035 at stud3 dot tuwien dot ac dot at>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 01 Feb 2005 18:37:20 +0100
- Subject: glibc-2.3.4 test-installation.pl fails
Hi list,
for some time I'm now trying to compile glibc (2.3.3 first, and 2.3.4
now) with gcc-3.4.3. I'm part of a small group which is building a home
brewn "linux". Till now we have a perfectly running system using
glibc-2.3.2, gcc-3.3.3 and binutils-2.14.
To make the new glibc compile I built a static version of coreutils and
make. I built gcc-3.4.3 (not static) and than built glibc as follows:
-----------------------------------------
./configure \
--prefix=/usr \
--with-elf \
--enable-shared \
--enable-omitfp \
--disable-profile \
--enable-add-ons=linuxthreads \
--with-gnu-binutils \
--with-gnu-ld \
--with-gnu-as \
--exec-prefix=/usr \
--includedir=/usr/include \
--oldincludedir=/usr/include \
--localstatedir=/var \
--sysconfdir=/etc \
--with-headers=/usr/src/linux/include \
--libdir=/lib \
--without-__thread
make
-----------------------------------------
The build succeeds but the installation fails at the
test-installation.pl script. The libs that should be linked to the
executable (such as libBrokenLocale.so.1) do not appear in the ldd
output for that executable:
------------------------------------------
$ cat > /tmp/xxx.c
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf ("Your new glibc installation seems to be ok.\n");
exit (0);
}
$ gcc /tmp/xxx.c -lBrokenLocale -o /tmp/xxx
$ /tmp/xxx
Your new glibc installation seems to be ok.
$ ldd /tmp/xxx
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0x4001e000)
/lib/ld-linux.so.2 (0x40000000)
------------------------------------------
Searching the Web I found that there may be some problems with the
linker, but since all the builds did succeed I do not know, what I did
wrong.
I hope, someone can help me. But if this is the wrong list, sorry for
the annoyance.
Markus
--
:wq
/(bb|[^b]{2})/
Markus Trenkwalder
Student of Computer Engineering at TU-Wien