AnsweredAssumed Answered

GCC 5.2.0 cannot find crt1.o: No such file or directory while cross compiling

Question asked by Senthil Kumar on Sep 19, 2016
Latest reply on Sep 19, 2016 by igorpadykov

Hi all,

I am facing issue with arm-poky-linux-gnueabi-gcc(5.2.0)

Procedure what i did:

1.bitbake meta-toolchain

2.Extracted toolchain to common folder(/opt/)

 

In local.conf file added belw two lines.

IMAGE_INSTALL_append = " eglibc-staticdev"

SDKIMAGE_FEATURES_append = " staticdev-pkgs"

 

I tried the above mention procedure. Still I am facing the problem,but i am not getting this issue with arm-poky-linux-gnueabi-gcc 4.8.2

 

/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crt1.o: No such file or directory
/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crti.o: No such file or directory
/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crtbegin.o: No such file or directory

 

Please provide the exact procedure that you have followed, Thanks in advance.

Outcomes