FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 12-01-2010, 09:16 AM
Michael Guntsche
 
Default 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_P ATH:}/$(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_PAT H:}/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






--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101201101608.GA31088@gibson.comsick.at">http://lists.debian.org/20101201101608.GA31088@gibson.comsick.at
 

Thread Tools




All times are GMT. The time now is 02:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org