| Summary: | binutils: Should not detect locally built libraries when building host tools | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Saul Wold <sgw> |
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher |
| Version: | 1.2 | ||
| Target Milestone: | 1.2 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Saul Wold
2011-12-13 15:01:21 UTC
Saul, Josh, I wonder why it does not hit non-suse x86-64 hosts. If you know any insight let me know. Thanks, Nitin I guess it is coming from the matching binutils version on the host. Nitin Correct, on other hosts, the binutils is either an older version or is installed using a different version or extension for example on ubuntu 2.21.53.20110810-0ubuntu5 had a date in the version string and therefore is not a match. more findings: the problem is wrong LD_LIBRARIES_PATH while running distro gcc. poky sets : CC_FOR_BUILD = gcc which is correct, a distro gcc for compiling buildtime tools. And we have setup LD_LIBRARIES_PATH including build sysroots for do_compile, The solution is to not pass our LD_LIBRARIES_PATH while executing distro binaries. This commit for fixing this issue is mailed to yocto mailing list: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=nitin/bugfix&id=6bd4afcd3f351bb92e2573d487b135c965fce0aa sent a commit to fix this issue to mailing list |