| Summary: | iptable 1.4.15 compile failed on qemux86,qemuarm i686 gmae-toolchain | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | liang li <liang.li2> |
| Component: | devtools / tool chain | Assignee: | Kai Kang <kai.kang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | alexandru.c.georgescu, constantinx.musca, jessica.zhang, laurentiu.serban, meta.mr.watcher, meta.watcher, poky.adt.watcher, poky.watcher, sgw, yi.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
liang li
2012-09-18 10:52:38 UTC
Both of these are related *** This bug has been marked as a duplicate of bug 2768 *** (In reply to comment #0) > 1.3 M4 toolchain from below : > http://autobuilder.yoctoproject.org/pub/nightly/20120916-2/toolchain/i686/ > poky-eglibc-i686-i586-toolchain-gmae-1.2+snapshot-20120916.sh > http://autobuilder.yoctoproject.org/pub/nightly/20120916-2/toolchain/i686/ > poky-eglibc-i686-arm-toolchain-gmae-1.2+snapshot-20120916.sh > > steps below (qemuarm for example): > 1. source /opt/poky/1.2+snapshot/environment-setup-armv5te-poky-linux-gnueabi > 2. ./configure ${CONFIGURE_FLAGS} > 3. make > > errors found below: > ... > make[2]: Leaving directory > `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/include' > Making all in utils > make[2]: Entering directory > `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/utils' > arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork > -mtune=arm926ej-s > --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi > -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES > -D_FILE_OFFSET_BITS=64 -D_REENTRANT > -DXTABLES_LIBDIR=\"/usr/local/lib/xtables\" -DXTABLES_INTERNAL -I../include > -I../include -Wall -Waggregate-return -Wmissing-declarations > -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes > -Winline -pipe -O2 -pipe -g -feliminate-unused-debug-types -MT nfnl_osf.o > -MD -MP -MF .deps/nfnl_osf.Tpo -c -o nfnl_osf.o nfnl_osf.c > nfnl_osf.c:45:39: fatal error: libnfnetlink/libnfnetlink.h: No such file or > directory > compilation terminated. > make[2]: *** [nfnl_osf.o] Error 1 > make[2]: Leaving directory > `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/utils' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15' > make: *** [all] Error 2 > > git info:e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c > git branch:poky/1.3_M4 > > test env: > host : Fedora 17 i686 There seems to be a problem with the rpath. On 32bit toolchains the RPATH is not relative to $ORIGIN. On the other hand, the 64bit toolchains work. Working example:poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120918.sh Not working example:poky-eglibc-i686-arm-toolchain-gmae-1.2+snapshot-20120918.sh Bug 2768 has been fixed, but make still fail. So separate them. (In reply to comment #3) > Bug 2768 has been fixed, but make still fail. So separate them. Hello Kai, Are you still having this problem with RC4? (c9de24d3f4845251b01e2eab0aeeb7472badc5bb). I have tested with it and I couldn't reproduce on my machine (FC17, 32bit) (In reply to comment #4) > (In reply to comment #3) > > Bug 2768 has been fixed, but make still fail. So separate them. > > Hello Kai, > Are you still having this problem with RC4? > (c9de24d3f4845251b01e2eab0aeeb7472badc5bb). > > I have tested with it and I couldn't reproduce on my machine (FC17, 32bit) thanks for your testing yesterday.In my test environment (FC17, 32bit),the error also not met. so please set the status to RESOLVED as before (you change it to NEEDINFO). Because configure checks that libnfnetlink doesn't exist, so make doesn't link to libnfnetlink.so any more. Then make succeeds. no such error on: git info:33440ee70623394d06a4b214c2be10788cba6d08 git branch: poky/master test env: host: Fedora 17 i686 |