readelf/ldconfig confused about ELF header

Mike Frysinger vapier at
Sat Jan 5 09:14:59 UTC 2008

On Wednesday 31 October 2007, Hamish Moffatt wrote:
> I'm using buildroot to compile for armeb on a x86-64 (little-endian) host.

please use the buildroot mailing list in the future

> uclibc's readelf and ldconfig are giving confusing results reading the
> headers of compiled libraries.
> Programs run ok, but ldconfig decides that my target has mixed
> byte-order libraries and generates a wrong-endianness
> readelf says the right things for uClibc's own libraries:
> [ 5:00PM] hamish at bach:europaboot/root/lib $
> ../../../../build_armeb/staging_dir/usr/bin/armeb-linux-uclibcgnu-readelf

you are running readelf from binutils, so that  isnt really uClibc's 
concern ... dunno about the ldconfig thing you mention though
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the uClibc mailing list