Bug 430 - poky-extract-sdk fails
Summary: poky-extract-sdk fails
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.9 M4
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-11 19:14 UTC by liping Ke
Modified: 2010-12-21 06:07 UTC (History)
8 users (show)

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


Attachments
error screen shot. (386.38 KB, image/png)
2010-10-11 19:15 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-11 19:14:10 UTC
Please see my screenshot. ( I use changeset http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=builds/milestone&id=b9728f63c676e217efcf93c40ded2c3fad19d52c,
and build the total image arm,x86 successfully)
For x86:
1) source /opt/poky/environment-setup-i586-XXXX files.
2) do poky-extract-sdk cmd
it will report segmentation fault.

For arm, Same phenomenon.

Then I use poky tree environment setup script, seems fine.
Comment 1 liping Ke 2010-10-11 19:15:08 UTC
Created attachment 58 [details]
error screen shot.

The above two windows are the failure extract window.
Comment 2 liping Ke 2010-10-11 19:31:34 UTC
I have restart the machine and get the same result.
Comment 3 Lianhao Lu 2010-10-11 20:16:20 UTC
PPC has the same problem.

But the poky-extract-sdk is ok if we source the environment file from meta-ide-support build instead.
Comment 4 Jessica 2010-10-11 20:19:14 UTC
in summary, it seems the behavior for installed sdk is failing while poky tree works...
Comment 5 Scott Garman 2010-10-12 13:14:00 UTC
This is happening because pseudo is segfaulting. pseudo is segfaulting because it was compiled with the eglibc that is included in the native sysroot, but the runtime linker is not configured to load the libraries in the native sysroot.

If one sets LD_LIBRARY_PATH to the sysroot's lib/ directory, the problem goes away. But if LD_LIBRARY_PATH is then exported, system commands such as 'ls' will fail. I'm currently looking into possible solutions.
Comment 6 Richard Purdie 2010-10-14 12:58:58 UTC
Should be fixed in http://git.pokylinux.org/cgit.cgi/poky/commit/?id=462aef73fad5f01afa89fe76da57032fc5abceee but need someone to test.
Comment 7 Saul Wold 2010-10-14 14:36:59 UTC
Checked into RC2
Comment 8 Jessica 2010-10-14 16:28:13 UTC
Refer the verification note of 431