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 10-28-2010, 07:08 AM
Hector Oron
Default Bug#553047: libc6: (cross) libc-2.10.1.so/powerpc: ELF file data


2010/10/28 minami <minami@pylone.jp>:
> Shouldn't we stop tweaking LD_LIBRARY_PATH to cross-build gcc?

Sounds to me like a reasonable thing to do.

Best regards
*Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html

To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTinUbTPRTK9O-HkAi7YMcf2M0JZDVn7Drw5dSNNs@mail.gmail.com">http://lists.debian.org/AANLkTinUbTPRTK9O-HkAi7YMcf2M0JZDVn7Drw5dSNNs@mail.gmail.com
Old 12-22-2010, 12:20 PM
Marcin Juszkiewicz
Default Bug#553047: libc6: (cross) libc-2.10.1.so/powerpc: ELF file data

Dnia czwartek, 28 października 2010 o 08:06:35 minami napisał(a):

> Shouldn't we stop tweaking LD_LIBRARY_PATH to cross-build gcc?
> In my understanding, the error message:
> > error while loading shared libraries:
> /usr/powerpc-linux-gnu/lib/libc.so.6: ELF file data encoding not
> little-endian
> means:
> "failed to load the Perl interpreter
> with $LD_LIBRARY_PATH/libc.so instead of /lib/libc.so".

Yes, it means that. I solved that by adding /lib:/usr/lib: to LD_LIBRARY_PATH
in attached patch.

> Fortunately, recent versions of dpkg-shlibdeps seems to be
> wise enough to detect GCC_TARGET and DEB_TARGET_GNU_TYPE
> and we no longer have to tell dh_shlibdeps where to search
> libraries using a special environment variable.

Would be nice.

Anyway with attached patch I managed to package biarch powerpc and triarch
mipsel gcc-4.5. Please take a look.

JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz

Thread Tools

All times are GMT. The time now is 10:53 AM.

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