Bug#604774: Powerpc compilation error
reopen 604774
thanks
I still get compilation errors with the latest version. Apparently this
is caused by not having the complete initial patch applied which also
removes the setting of the LD_LIBRARY_PATH.
SET_CROSS_LIB_PATH = LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
Because of that I get the following error messages during the build.
sed -i s/-powerpc-cross//g debian/libgcc1-powerpc-cross/DEBIAN/shlibs
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/powerpc-linux-gnu/lib
ARCH=powerpc MAKEFLAGS="CC=something" dh_shlibdeps
-plibgcc1-powerpc-cross
/usr/bin/perl: error while loading shared libraries:
/usr/powerpc-linux-gnu/lib/libdl.so.2: ELF file data encoding not
little-endian
make[1]: *** [stamps/08-binary-stamp-libgcc] Error 127
Commenting SET_CROSS_LIB_PATH fixes the problem for me.
Kind regards,
Michael
Reply to: