| Summary: | [toolchain] Cannot build LTP with ppc/arm toolchain | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | High | CC: | kevin.tian, meta.mr.watcher, meta.watcher, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Jiajun Xu
2010-07-29 06:40:09 UTC
how to reproduce this issue ? are there steps to follow for reproducing ? What I did is: 1. Download ppc/arm toolchain tarball from http://yoctobuild01.jf.intel.com/milestone/20100725-1/toolchain/i586/ 2. extract toolchain tarball to /opt/poky 3. Download LTP from http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100430/ltp-full-20100430.tgz/download 4. extract LTP and cd into LTP folder 5. For ARM, Run "source /opt/poky/environment-setup-arm-poky-linux-gnueabi" "./configure --host=arm-poky-linux-gnueabi && make" For PPC, Run "source /opt/poky/environment-setup-powerpc-poky-linux" "./configure --host=powerpc-poky-linux" Then you can see the error. BTW, i586 and mips toolchain has no such compile issue. Has this worked before? if yes what revision of poky tree? This is root caused as a limits.h filename (with others) getting truncated to limi . This is identified as opkg unarchive bug. sent a patch to opkg to fix this issue. commit is here: http://git.pokylinux.org/cgit.cgi/poky/commit/?id=983b094ed0b774c73f51a24b79f85f3b2c9f91be verified ltp can built with newer toolchain tarball. Nitin M2 commit: http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?id=600cf36b64bd6a473ed46d62c65622930b3fb287 Verified with M2-20100731 build, the bug is fixed. |