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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

5,350 Views
senthilkumar_s1
Contributor II

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.

Tags (3)
0 Kudos
1 Reply

1,796 Views
igorpadykov
NXP Employee
NXP Employee

Hi Senthil

please check link below

Compiling errors with gcc-5.2.0 from 4.1.15 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos