| Summary: | SUDOKU C++ GTK project build failure when in poky tree mode in ARM arch | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | liping Ke <liping.ke> |
| Component: | core | Assignee: | Richard Purdie <richard.purdie> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Medium | CC: | dongxiao.xu, jessica.zhang, kevin.tian, lianhao.lu, meta.mr.watcher, meta.watcher, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
liping Ke
2010-09-18 20:52:01 UTC
For PPC, I meet the same problem as arm. Checked with dongxiao's test setup script, Seems export PATH should be OK, not sure whether CONFIG_SITE has some problem? Not sure. If dongxiao find anything, he'll update the bug status, I think. criping I attached the environment file generated by "bitbake meta-ide-support". Check it will find that PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH are pointing to un-exist directory. Modify ".../sysroots/powerpc-poky-linux" to ".../sysroots/ppc603e-poky-linux" will solve the problem. So does arm architecture. export PATH=/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux/usr/bin/ppc603e-poky-linux:/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/ppc603e-poky-linux/usr/bin/crossscripts:/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux/usr/sbin:/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux/usr/bin:/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux/sbin:/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux//bin:/sda1/poky-20100903/scripts/..//bitbake//bin/:/sda1/poky-20100903/scripts/..//scripts:/sda1/poky-20100903/scripts/..//bitbake//bin/:/sda1/poky-20100903/scripts/..//scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sda1/poky-20100903/scripts export PKG_CONFIG_SYSROOT_DIR=/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/powerpc-poky-linux export PKG_CONFIG_PATH=/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/powerpc-poky-linux/usr/lib/pkgconfig export CONFIG_SITE="/sda1/poky-20100903/meta/site/endian-big /sda1/poky-20100903/meta/site/common-glibc /sda1/poky-20100903/meta/site/powerpc-common /sda1/poky-20100903/meta/site/powerpc-linux /sda1/poky-20100903/meta/site/common /sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/ppc603e-poky-linux/usr/share/powerpc-poky-linux_config_site.d/glibc_config /sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/ppc603e-poky-linux/usr/share/powerpc-poky-linux_config_site.d/zlib_config " export CC=powerpc-poky-linux-gcc export CXX=powerpc-poky-linux-g++ export GDB=powerpc-poky-linux-gdb export TARGET_PREFIX=powerpc-poky-linux- export CONFIGURE_FLAGS="--target=powerpc-poky-linux --host=powerpc-poky-linux --build=i686-linux" export CFLAGS="-mcpu=603e -mhard-float" export CXXFLAGS="-mcpu=603e -mhard-float" export POKY_NATIVE_SYSROOT="/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/i686-linux" export POKY_TARGET_SYSROOT="/sda1/poky-20100903/build-qemuppc-gcc/tmp/sysroots/ppc603e-poky-linux" Thanks a lot for dongxiao's help! So josh or Richard, any of you could help to modify the script generation file? Thanks a lot! criping I just sent a pull request which can fix this problem. Richard and Josh can help to review. Thanks, Dongxiao The fix has been pushed into poky/master, mark the bug as fixed. no longer have the build issue after the fix |