Hi,
I'm building a mipsel uclibc (0.9.31) toolchain (32-bit) on 64-bit Ubuntu. When 
trying to analyze a mipsel binary with ldd.host it fails with: "...not an ELF 
file."

This is caused by the following test in 
http://git.uclibc.org/uClibc/tree/utils/ldd.c#n220: 
|| ehdr->e_ident[EI_CLASS] != ELFCLASSM

The first expression evaluates to ELFCLASS32 and the second one is defined as 
ELFCLASS64. Commenting out the check doesn't help because then it's throwing a 
segfault.

Can anybody confirm this bug? Or even fix it? Should I open a ticket on 
bugzilla?

Regards
Oliver



_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to