[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#553047: libc6: (cross) libc-2.10.1.so/powerpc: ELF file data encoding not little-endian



Hector Oron a écrit :
> Package: libc6
> Version: 2.9-27
> Severity: normal
> 
> 
> Hello,
> 
>   While building a cross compiler gcc-4.4 i386->powerpc, i get the following error:
> 
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/powerpc-linux-gnu/lib ARCH=powerpc MAKEFLAGS="CC=something" dh_shlibdeps -plibgcc1-powerpc-cross
> 
> error while loading shared libraries: /usr/powerpc-linux-gnu/lib/libc.so.6: ELF file data encoding not little-endian
> 
> Watching the file:
> 
> $ file /usr/powerpc-linux-gnu/lib/libc-2.10.1.so 
> /usr/powerpc-linux-gnu/lib/libc-2.10.1.so: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, with unknown capability 0x41000000 = 0x13676e75, with unknown capability 0x10000 = 0xb0401, stripped
> 

This is normal that the file is not little endian, PowerPC is big endian!!!

The question is why dh_shlibdeps returns such an error.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: