How to build glibc 2.11.2 on RHEL5?
Posted
by netvope
on Super User
See other posts from Super User
or by netvope
Published on 2010-06-03T13:13:26Z
Indexed on
2010/06/03
13:14 UTC
Read the original article
Hit count: 1401
Using gcc-4.4.4 or 4.5.0, I'm unable to make
glibc-2.11.2 on RHEL 5.5:
.././scripts/mkinstalldirs /dev/shm/glibc-2.11.2-build/sunrpc/rpcsvc
CPP='gcc -B/home/klaw/share/rhel5/ -E -x c-header' /dev/shm/glibc-2.11.2-build/elf/ld-linux-x86-64.so.2 --library-path /dev/shm/glibc-2.11.2-build:/dev/shm/glibc-2.11.2-build/math:/dev/shm/glibc-2.11.2-build/elf:/dev/shm/glibc-2.11.2-build/dlfcn:/dev/shm/glibc-2.11.2-build/nss:/dev/shm/glibc-2.11.2-build/nis:/dev/shm/glibc-2.11.2-build/rt:/dev/shm/glibc-2.11.2-build/resolv:/dev/shm/glibc-2.11.2-build/crypt:/dev/shm/glibc-2.11.2-build/nptl /dev/shm/glibc-2.11.2-build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /dev/shm/glibc-2.11.2-build/sunrpc/xbootparam_prot.T
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!
make[2]: *** [/dev/shm/glibc-2.11.2-build/sunrpc/xnlm_prot.stmp] Error 127
make[2]: Leaving directory `/dev/shm/glibc-2.11.2/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/dev/shm/glibc-2.11.2'
make: *** [all] Error 2
The error comes from the ld.so
made by glibc:
$ elf/ld.so
Inconsistency detected by ld.so: dynamic-link.h: 209: elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!
$
I got similar error with glibc-2.11.1 (only the line number of dynamic-link.h
is different).
Any ideas how I can fix this?
gcc-4.4.4 and 4.5.0 were compiled with:
- binutils-2.20.1
- gmp-5.0.1
- mpc-0.8.2
- mpfr-2.4.2
© Super User or respective owner