AnsweredAssumed Answered

Build error - arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc

Question asked by maheshkumarkodanda on Mar 16, 2016
Latest reply on Jul 29, 2016 by D.w. Luo

Hi Community,

 

I am trying to build U-boot from local folder using the following commands:

 

export ARCH=arm

 

export CROSS_COMPILE=/home/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-

 

make mx6qsabreauto_defconfig

 

make

 

And I am getting following error:

 

/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc

make[2]: *** [examples/standalone/hello_world] Fehler 1

make[1]: *** [examples/standalone] Fehler 2

make: *** [examples] Fehler 2

 

I am using Cross compiler from x86_64-linux as mentioned above, it is supposed to build image for i.mx devices, isn't it?

 

NOTE:

 

i got BSP from:

 

Outcomes