[Clfs-support] Error compiling glibc for powerpc using clfs v 1.1.0

Ademir Zanetti Junior ademirzanetti at gmail.com
Wed Oct 15 08:52:10 PDT 2008


Hello all,

I am following the instructions from the book CLFS-1.1.0-ppc.pdf  to cross
compile the whole linux environment, and I facing problems to compile the
glibc on the item 10.7 of the book. When I try to compile it

make[2]: Entering directory `/usr/src/glibc-2.7/sunrpc'
CPP='gcc -E -x c-header'  /usr/src/glibc-build/elf/ld.so.1 --library-path
/usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf:/usr/src/glibc-build/dlfcn:/usr/src/glibc-build/nss:/usr/src/glibc-build/nis:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/glibc-build/crypt:/usr/src/glibc-build/nptl
/usr/src/glibc-build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x
-o /usr/src/glibc-build/sunrpc/xbootparam_prot.T
*Inconsistency detected by ld.so: dl-load.c: 690: _dl_init_paths: Assertion
`pelem->dirname[0] == '/'' failed!*
make[2]: *** [/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: Leaving directory `/usr/src/glibc-2.7/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.7'
make: *** [all] Error 2
root:/usr/src/glibc-build#

I am compiling it on a ppc 440 without fp. I compiled the kernel with math
emulation option enable which provides me a soft-float emulation.

Anyone has any idea of why I am getting this error ? Is there any additional
patch I should apply to fix it ?

Thanks in advance.
______________________________________
Ademir Zanetti Junior - Computer Engineer
Mobile Phone - +55 19 8162 0286
Personal e-mail - ademirzanetti at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20081015/08ca9f34/attachment.html>


More information about the Clfs-support mailing list