[Clfs-support] x86 embedded toolchain issue

Frank Ianella fjianella at gmail.com
Tue Dec 23 17:17:22 PST 2008


hi all,

built the x86 embedded toolchain per the book with the exception of
upgrading to uclibc-0.9.30. the toolchain appears to work fine, but
nothing runs.

${CC} ${BUILD} -Wl,--dynamic-linker,${CLFS}/lib/ld-uClibc.so.0
${CLFS}/lib/libc.so.0 hello.c

./a.out: can't handle reloc type 0xe in lib '/lib/libc.so.6'

also, the output from
readelf -a a.out | grep lib

[Requesting program interpreter: /cross-tools/lib/ld-uClibc.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]

seems like the toolchain got contaminated by the host somehow.
something tells me it shouldn't be looking for libgcc_s.so.1. any help
is appreciated.

tia and happy holidays!!

regards,
frank



More information about the Clfs-support mailing list