| Summary: | Failed to build iptables with extensible sdk on Fedora 23 i686 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> | ||||
| Component: | devtools / tool chain | Assignee: | Robert Yang <liezhi.yang> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> | ||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | alexandru.c.georgescu, ke.zou, meta.mr.watcher, meta.watcher, richard.purdie, yi.zhao | ||||
| Version: | 2.1 | ||||||
| Target Milestone: | 2.2 M4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | New (Never tested) | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Yi Zhao
2016-02-04 09:43:07 UTC
Do you have the config.log for this failure? Created attachment 2968 [details]
config.log
setup env to install F23 on. In process of trying to reproduce. Here are my steps:
I did all test steps in a F23 i586 install within a VM on my mac.
1) bitbake -c populate_sdk_ext core-image-minimal
2) ./poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-1.7.sh
3) . ./environment-setup-core2-64-poky-linux
4) devtool add iptables {path to iptables sources}
5) devtool build iptables
no errors
using master:b33e440cc6fbd703e8045d94b806790343e72eb6
did I get the steps correct?
Should I try at the git commit listed in this bug?
(In reply to comment #4) > Here are my steps: > > I did all test steps in a F23 i586 install within a VM on my mac. > > 1) bitbake -c populate_sdk_ext core-image-minimal > 2) ./poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-1.7.sh > 3) . ./environment-setup-core2-64-poky-linux > 4) devtool add iptables {path to iptables sources} > 5) devtool build iptables > > no errors > > using master:b33e440cc6fbd703e8045d94b806790343e72eb6 > > did I get the steps correct? > > Should I try at the git commit listed in this bug? Hi Armin, Sorry for late reply due to our Chinese New Year vacation. I didn't use devtool to build iptables. My steps are: . ./environment-setup-core2-64-poky-linux cd iptables-1.4.21/; ./configure ${CONFIGURE_FLAGS} This is a test case for sdk toolchain: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=369 I think it should also be available for ext sdk. The key piece from config.log is: configure:4218: checking the archiver (i586-poky-linux-ar) interface configure:4228: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea/poky_sdk/tmp/sysroots/qemux86 -c -O2 -pipe -g -feliminate-unused-debug-types conftest.c >&5 configure:4228: $? = 0 configure:4230: i586-poky-linux-ar cru libconftest.a conftest.o >&5 i586-poky-linux-ar: relocation error: /usr/lib/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference configure:4233: $? = 127 configure:4239: i586-poky-linux-ar -NOLOGO -OUT:conftest.lib conftest.o >&5 i586-poky-linux-ar: relocation error: /usr/lib/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference configure:4242: $? = 127 configure:4256: result: unknown configure:4272: error: could not determine i586-poky-linux-ar interface which suggests something in the relocation code means this is using the wrong libc... This issue still happens on 2.1.1 rc1 and Fedora 24 i686 Works for me on master branch. (YP 2.2) Works for me. This issue should be related with bug 9287. Verified with 2.2 rc1. git rev: morty/371ab635086e2878ada1f00a59c7ec826481ba0a |