This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Error when building: --program-transform-name=s&^&arm-linux-gnueabi-&
Hi,
2010/3/2 Hector Oron <hector.oron@gmail.com>:
> 2010/3/2 Andreas Schwab <schwab@redhat.com>:
>> Hector Oron <hector.oron@gmail.com> writes:
>>
>>> configure:2892: gcc -g -O2 ? ?conftest.c ?>&5
>>> Assembler messages:
>>> Fatal error: selected target format 'elf64-x86-64' unknown
>>
>> The assembler is picking up the wrong libbfd due to LD_LIBRARY_PATH.
>
> LD_LIBRARY_PATH is set to
> /usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
>
> What should be changed here?
I have tried unset LD_LIBRARY_PATH, add binutils $builddir to the
LD_LIBRARY_PATH, avoid use of fakeroot.. all lead to same error (at
the moment only on x86_64)
Cheers,
--
Héctor Orón
"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."