[Buildroot] problem generating c++ compiler for target arch

Bernhard Fischer rep.nop at aon.at
Wed Nov 22 20:18:34 UTC 2006


On Wed, Nov 22, 2006 at 08:09:05PM -0000, lists at primefarm.co.uk wrote:
>On Wed, November 22, 2006 8:02 pm, Bernhard Fischer wrote:
>> On Wed, Nov 22, 2006 at 07:44:38PM -0000, lists at primefarm.co.uk wrote:
>>
>>> On Wed, November 22, 2006 6:52 pm, Bernhard Fischer wrote:
>>>
>>
>>> OK, I tried again with 3.4.6, those errors do indeed go away. I now
>>> have a differnt set of problems (hooray!).
>>>
>>> The error seems to center around fakeroot, although I'm no expert at
>>> reading these error dumps.
>>>
>>> Here is the whole lot:
>>>
>>>
>>> CONFIG_FILES= CONFIG_HEADERS= /bin/sh ./config.status
>>> config.status: executing depfiles commands
>>> config.status: executing libtool commands
>>> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o faked  faked.o
>>> libcommunicate.la -ldl libtool: link: gcc -g -O2 -o faked faked.o
>>> ./.libs/libcommunicate.a -ldl
>>> /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thu
>>> nk.bx+0x0):
>>> In function `__i686.get_pc_thunk.bx':
>>> : multiple definition of `__i686.get_pc_thunk.bx'
>>>
>>
>>>
>>> Any ideas?
>>>
>>
>> Not sure, but it sounds like your host's toolchain is too old.
>> binutils-2.16.1 work for me..
>>
>
>
>I'm running it on 2.16.1 already. The box im running it on is debian sarge
>- which could explain some random things being far too old.
>
>What newer versions of binutils do you reccomend?

Perhaps try a more recent gcc for your host.
If sarge's gcc is older than 3.4.6, then i'd bootstrap the 3.4.6 you
already downloaded. If this fails to work properly, then i guess4.{1,2}
should work fine.

HTH,



More information about the buildroot mailing list