On Mon, Aug 9, 2010 at 2:39 PM, Adrian Alonso <aalons...@gmail.com> wrote: > Hi Khem, > > Log with -v option at http://pastebin.com/5mB7CvHm
OK it seems its using right assembler then I wonder why linker can not understand the objects generated by it. Try to generate a .o with this gcc for a small hello world program with and then put it somewhere or run readelf over it and inspect. > > Thanks > > On Mon, Aug 9, 2010 at 4:06 PM, Khem Raj <raj.k...@gmail.com> wrote: > >> On Mon, Aug 9, 2010 at 1:39 PM, Adrian Alonso <aalons...@gmail.com> wrote: >> > Hi, >> > >> > I'm trying to build glibc-initial_2.3.6 for Microblaze arch >> > and it fails in do_install function at final stage when linking >> > libc.so; Error log attached >> > >> > I notice that this always happends when invoking gcc with >> > "-shared" flag it always returns the same error: >> > >> > /tmp/ccvUy8ol.o: could not read symbols: File format not recognized >> > | collect2: ld returned 1 exit status >> > | ERROR: Function do_install failed >> > >> > The combination of tools that trying to build >> > >> > binutils: 2.20.1 >> > gcc: 4.5 Microblaze svn branch >> > glibc: 2.3.6 from petalogix know working port for microblaze >> > Computer host: Fedora 13 >> > >> > Can any one give me some advise on how to root cause and solve this >> problem? >> > >> >> The problem is that its not using the right assembler AFAICT >> the log you attached does not help. Can you try that same command >> individually with -v added to it please. >> >> Thx >> -Khem >> >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> > > > > -- > Saludos > Adrian Alonso > http://aalonso.wordpress.com > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel