Bug 413 - gcc a simple file will meet crt1.o: No such file error in sdk mode
Summary: gcc a simple file will meet crt1.o: No such file error in sdk mode
Status: CLOSED INVALID
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: High critical
Target Milestone: 0.9 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-07 20:33 UTC by liping Ke
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
error access log of file crt1.o (20.87 KB, text/x-log)
2010-10-07 20:33 UTC, liping Ke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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