Skip to contentSkip to conversation

BFD 2.16.1 assertion fail

DISCUSSION Sai prasanna 3 participants 3 messages Apr 12, 2006

lore
Share & tools
lore
#0 lore raw

Date: Wed, 12 Apr 2006 00:04:59 -0700 (PDT)
From: Sai prasanna <[email protected]>
Subject: BFD 2.16.1 assertion fail
To: linux project group <[email protected]>
CC: [email protected]

Hi All,

I Have been trying to build across compiler for power-ppc-linux-gnu I have succesfully installed binutils-2.16.1, first phase gcc-4.0.3, glibc-2.3.6 and then when i finally tried to install the final gcc ima getting eror such as

/home/foo/build-install/powerpc-ppc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail../../binutils-2.16.1/bfd/elf32-ppc.c:5397
collect2: ld returned 1 exit status
make[3]: *** [libmudflap.la] Error 1
make[3]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap'
make: *** [all-target-libmudflap] Error 2

I have used the following gcc configuration opitons

[root@localhost build-gcc]# ../gcc-4.0.3/configure --host=i686-pc-linux-gnu --target=powerpc-ppc-linux-gnu --prefix=/home/foo/build-install --enable-languages=c,c++

Some one please help me with this.

Regards,
Sai

Sai Prasanna.S,
Department Of ComputerScience,
University Of Madras,
Chennai.

Ph: 9940357430
Email: [email protected]

---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2�/min with Yahoo! Messenger with Voice.

---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

#1 lore raw
Quoted 1 line · Sai prasanna

/home/foo/build-install/powerpc-ppc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail../../binutils-2.16.1/bfd/elf32-ppc.c:5397

You will likely be much better off with a new CVS binutils. 2.16.1 was released almost a year ago, and a lot of bugs have been fixed since then.

Signature · 2 lines
Alan Modra
IBM OzLabs - Linux Technology Centre
#2 lore raw
In reply to Sai prasanna

If you just want a working cross compiler these tend to be pretty good:
http://developer.osdl.org/dev/plm/cross_compile/

Or if you insist on doing your own crosstool is a very good idea:
http://www.kegel.com/crosstool/

-Joel

Quoted 63 lines · Sai prasanna

Date: Wed, 12 Apr 2006 00:04:59 -0700 (PDT)
From: Sai prasanna <[email protected]>
Subject: BFD 2.16.1 assertion fail
To: linux project group <[email protected]>
CC: [email protected]

Hi All,

I Have been trying to build across compiler for power-ppc-linux-gnu I have succesfully installed binutils-2.16.1, first phase gcc-4.0.3, glibc-2.3.6 and then when i finally tried to install the final gcc ima getting eror such as

/home/foo/build-install/powerpc-ppc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail../../binutils-2.16.1/bfd/elf32-ppc.c:5397
collect2: ld returned 1 exit status
make[3]: *** [libmudflap.la] Error 1
make[3]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/foo/build-gcc/powerpc-ppc-linux-gnu/libmudflap'
make: *** [all-target-libmudflap] Error 2

I have used the following gcc configuration opitons

[root@localhost build-gcc]# ../gcc-4.0.3/configure --host=i686-pc-linux-gnu --target=powerpc-ppc-linux-gnu --prefix=/home/foo/build-install --enable-languages=c,c++

Some one please help me with this.

Regards,
Sai

Sai Prasanna.S,
Department Of ComputerScience,
University Of Madras,
Chennai.

Ph: 9940357430
Email: [email protected]
------------------------------------------------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries
<http://us.rd.yahoo.com/mail_us/taglines/postman9/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com/>
for just 2�/min with Yahoo! Messenger with Voice.

------------------------------------------------------------------------
Yahoo! Messenger with Voice. <http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com> PC-to-Phone calls for ridiculously low rates.

------------------------------------------------------------------------

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev