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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

6,876 次查看
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.

标记 (3)
0 项奖励
回复
1 回复

3,322 次查看
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 项奖励
回复