Thanks Jim, "--disable-shared" worked for me! thanks, priya
On Fri, Feb 20, 2009 at 1:17 PM, <[email protected]>wrote: > Send Clfs-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Clfs-dev digest..." > > > Today's Topics: > > 1. powerpc-unknown-linux-gnu-ar libbfd-2.19.1.so: ELF file data > encoding not little-endian (Priya Sundararajan) > 2. Re: powerpc-unknown-linux-gnu-ar libbfd-2.19.1.so: ELF file > data encoding not little-endian (Jim Gifford) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 20 Feb 2009 11:35:12 -0500 > From: Priya Sundararajan <[email protected]> > Subject: [Clfs-dev] powerpc-unknown-linux-gnu-ar libbfd-2.19.1.so: ELF > file data encoding not little-endian > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > I am trying to build a Cross linux system for PowerPC. I am working on > OpenSuse v10.3 > > I am following instructions available at > http://cross-lfs.org/view/svn/ppc/temp-system/binutils.html > > I get the following error when trying to build Binutils-1.19.1 (Section > 6.6) > . This is how my error message looks like - > ======================= > libtool: link: powerpc-unknown-linux-gnu-ar cru .libs/libbfd.a archive.o > archures.o bfd.o bfdio.o bfdwin.o cache.o coffgen.o corefile.o format.o > init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o > srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o merge.o dwarf2.o > simple.o compress.o elf32-ppc.o elf-vxworks.o elf32.o elf.o elflink.o > elf-attrs.o elf-strtab.o elf-eh-frame.o dwarf1.o coff-rs6000.o xcofflink.o > ppcboot.o elf32-gen.o cpu-rs6000.o cpu-powerpc.o > powerpc-unknown-linux-gnu-ar: error while loading shared libraries: > /mnt/clfs/sources/binutils-build/./bfd/.libs/libbfd-2.19.1.so: ELF file > data > encoding not little-endian > make[4]: *** [libbfd.la] Error 127 > make[4]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > make[1]: *** [all-bfd] Error 2 > make[1]: Leaving directory `/mnt/clfs/sources/binutils-build' > make: *** [all] Error 2 > ======================= > > I tried CLFS 1.1.0 <http://cross-lfs.org/view/1.1.0/> and got the same > error > there too. > > Any information on fixing this would be very helpful. > Thanks and regards, > Priya > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/attachments/20090220/ecb51f86/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Fri, 20 Feb 2009 09:09:19 -0800 > From: Jim Gifford <[email protected]> > Subject: Re: [Clfs-dev] powerpc-unknown-linux-gnu-ar libbfd-2.19.1.so: > ELF file data encoding not little-endian > To: CLFS development discussion <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Priya Sundararajan wrote: > > Hi all, > > I am trying to build a Cross linux system for PowerPC. I am working > > on OpenSuse v10.3 > > > > I am following instructions available at > > http://cross-lfs.org/view/svn/ppc/temp-system/binutils.html > > > > I get the following error when trying to build Binutils-1.19.1 > > (Section 6.6) . This is how my error message looks like - > > ======================= > > libtool: link: powerpc-unknown-linux-gnu-ar cru .libs/libbfd.a > > archive.o archures.o bfd.o bfdio.o bfdwin.o cache.o coffgen.o > > corefile.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o > > targets.o hash.o linker.o srec.o binary.o tekhex.o ihex.o stabs.o > > stab-syms.o merge.o dwarf2.o simple.o compress.o elf32-ppc.o > > elf-vxworks.o elf32.o elf.o elflink.o elf-attrs.o elf-strtab.o > > elf-eh-frame.o dwarf1.o coff-rs6000.o xcofflink.o ppcboot.o > > elf32-gen.o cpu-rs6000.o cpu-powerpc.o > > powerpc-unknown-linux-gnu-ar: error while loading shared libraries: > > /mnt/clfs/sources/binutils-build/./bfd/.libs/libbfd-2.19.1.so > > <http://libbfd-2.19.1.so>: ELF file data encoding not little-endian > > make[4]: *** [libbfd.la <http://libbfd.la>] Error 127 > > make[4]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/mnt/clfs/sources/binutils-build/bfd' > > make[1]: *** [all-bfd] Error 2 > > make[1]: Leaving directory `/mnt/clfs/sources/binutils-build' > > make: *** [all] Error 2 > > ======================= > > > > I tried CLFS 1.1.0 <http://cross-lfs.org/view/1.1.0/> and got the same > > error there too. > > > > Any information on fixing this would be very helpful. > > Thanks and regards, > > Priya > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Clfs-dev mailing list > > [email protected] > > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > > > We have only see this issue with OpenSuse. We could never figure out the > cause of the issue is. > > http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/2008-February/000075.html > . > > You can try changing the --enable-shared to --disable-shared to see if > that works. > > > ------------------------------ > > _______________________________________________ > Clfs-dev mailing list > [email protected] > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > > > End of Clfs-dev Digest, Vol 16, Issue 5 > *************************************** >
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
