--host=x86_64-linux-gnu --target=arm-linux-gnueabihf

Joel Brobecker brobecker@adacore.com
Wed May 9 13:36:00 GMT 2018


> I get the same result if I only do
> ./configure --target=arm-linux-gnueabihf
> 
> It always faults at
> 
> /usr/bin/ld: libsim.a(arminit.o): Relocations in generic ELF (EM: 40)
> libsim.a: error adding symbols: File in wrong format
> collect2: error: ld returned 1 exit status
> make[3]: *** [run] Error 1

Try starting from scratch. It looks like these files were compiled
with a compiler for another platform.

-- 
Joel



More information about the Gdb mailing list