[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 :
> Hello Aurelien,
> 
>   Thanks for the quick reply.
> 
> 2009/10/29 Aurelien Jarno <aurelien@aurel32.net>:
>> This is normal that the file is not little endian, PowerPC is big endian!!!
> 
> This bus is not only PowerPC but also: *hppa, sparc, mips*

All these architectures are big endian

> Alpha and armel are known to be fine.

These ones are little endian.

> This bug only happens on gcc-4.4, not seen on gcc-4.3

Strange. Maybe the way of calling dh_shlibdeps has changed?

> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/hppa-linux-gnu/lib
> ARCH=hppa MAKEFLAGS="CC=something" dh_shlibdeps -plibgcc4-hppa-cross
> /usr/bin/perl: error while loading shared libraries:
> /usr/hppa-linux-gnu/lib/libdl.so.2: ELF file data encoding not
> little-endian
> 
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/sparc-linux-gnu/lib
> ARCH=sparc MAKEFLAGS="CC=something" dh_shlibdeps -plibgcc1-sparc-cross
> /usr/bin/perl: error while loading shared libraries:
> /usr/sparc-linux-gnu/lib/libdl.so.2: ELF file data encoding not
> little-endian
> 
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/mips-linux-gnu/lib
> ARCH=mips MAKEFLAGS="CC=something" dh_shlibdeps -plibgcc1-mips-cross
> /usr/bin/perl: error while loading shared libraries:
> /usr/mips-linux-gnu/lib/libdl.so.2: ELF file data encoding not
> little-endian
> 
>> The question is why dh_shlibdeps returns such an error.
> 
> I'll try to debug it. Maybe you have a suggestion to investigate this farther.

Maybe comparing the calls to dh_shlibdeps between gcc 4.3 and gcc 4.4
would help.

> Maybe this bug needs to be reassigned to debhelper?

Either to debhelper or gcc-4.4, I don't know where is the problem.


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



Reply to: