| Summary: | the new Cross-Toolchain does not work with eclipse (Juno) | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> |
| Component: | adt | Assignee: | Ioana Grigoropol <ioanax.grigoropol> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | bogdan.a.marinescu, jessica.zhang, laurentiu.palcu, poky.adt.watcher, poky.watcher, song.liu |
| Version: | 1.3 | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| URL: | http://autobuilder.yoctoproject.org/pub/nightly/20120808-1/toolchain/x86_64/poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120808.sh | ||
| Whiteboard: | (Scheduled) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Alexandru Georgescu
2012-08-09 14:50:23 UTC
It looks like it happens only on Alex's machine. The tollchain binaries fail with "Segmentation Fault". The same archive, works on other machines... Needs more investigations. I found the root cause of this. It looks like toolchain binaries had the RPATHS hardcoded to the default path. If, for example, one installed the toolchain in the default location, /opt/poky/1.2+snapshot, and then tried an install in another location, the later install's toolchain binaries would search for libraries in the first location. If the libraries are found and loaded, a segmentation fault will occur. If the /opt/poky/1.2+snapshot directory does not exist at all, then everything is fine. The problem was in package.bbclass, the rpath_replace was called only for nativesdk packages and it should be called for cross-canadian packages too. I will send a fix shortly. LaurentiuP's latest patch set fixes this issue. Setting to Verified - Fixed. |