Bug 413

Summary: gcc a simple file will meet crt1.o: No such file error in sdk mode
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: liping Ke <liping.ke>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: CLOSED INVALID QA Contact:
Severity: critical    
Priority: High CC: jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
error access log of file crt1.o none

Description liping Ke 2010-10-07 20:33:41 UTC
Created attachment 52 [details]
error access log of file crt1.o

after successfully 
1) bitbake meta-toolchain-sdk, I untar the sdk tar ball to /opt
2) source /opt/poky/environment-setup-i586-poky-linux
3) simple write a hello.c file
4) i586-poky-linux-gcc test.c

it will report :

i586-poky-linux-gcc test.c
/opt/poky/sysroots/i586-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.0/ld: crt1.o: No such file: No such file or directory

the strace log is in the attachment!

Anybody please help to fix the bug asap...

Thanks a lot!

criping
Comment 1 liping Ke 2010-10-07 20:34:27 UTC
I use latest code of today on poky master tree.

criping
Comment 2 Jessica 2010-10-07 23:05:13 UTC
I just tested with poky sdk for arm and it's fine.  Note: my sdk is built against latest poky master that I freshly cloned this afternoon
Comment 3 liping Ke 2010-10-07 23:10:50 UTC
Hi, Jessica
I also found that there are lots of new check in after my cs. Seems I am pulling down the tree in the middle of their check-in phase.
I am now building the new tree.

Thanks a lot for your info!

Regards,
criping
Comment 4 liping Ke 2010-10-08 00:03:54 UTC
I have verified latest cs, the problem does not exist any more. It will point to /opt/poky/sysroots/i586-poky-linux/usr/lib/crtl.o

Thanks a lot!
I will invalid the bug!

criping
Comment 5 Jessica 2010-10-14 16:20:16 UTC
Invalid bug