Bug 6905

Summary: [1.6.2] "unrecognized options: --with-libtool-sysroot" when configure iptables using mips32 toolchain
Product: [Yocto Project Subprojects] ADT Reporter: Yi Zhao <yi.zhao>
Component: adtAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, ke.zou, poky.adt.watcher, poky.watcher, richard.purdie, yi.zhao, zhangle.yang
Version: 1.6.3   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard: Release Note for 1.6.2
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
configure log for 1.6.2
none
configure log for 1.6.1 none

Description Yi Zhao 2014-10-29 08:46:02 UTC
Created attachment 2218 [details]
configure log for 1.6.2

Toolchain location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.6.2.rc1/toolchain/i686/poky-eglibc-i686-core-image-sato-mips32-toolchain-1.6.1.sh

Git rev: daisy/313864bf528696a72c3ee6b3dec1a0c7b0b223f6

Test environment: Fedora 20 i686

This is a regression bug, used to work in 1.6.1

Steps:
1. Download the i686-mips32 toolchain from the above link

2. Install the toolchain and set the environment:
   source /opt/poky/1.6.1/environment-setup-mips32-poky-linux

3. Build the iptables-1.4.15:
   cd iptables-1.4.15
   ./autogen.sh
   ./configure ${CONFIGURE_FLAGS}
   
A warning message "configure: WARNING: unrecognized options: --with-libtool-sysroot" printed when configure

I tried 1.6.1 and 1.7 mips32 toolchain with same steps, there is no such issue.

I attached the detailed configure log.
Comment 1 Yi Zhao 2014-10-29 08:47:31 UTC
Created attachment 2219 [details]
configure log for 1.6.1

This is the 1.6.1 configure log without such warning.
Comment 2 Richard Purdie 2014-10-29 13:25:22 UTC
Interestingly, if you look at the tarball, libtoolize in the native sysroot is not executable.

If you make it executable, this bug disappears. So the issue is related to corrupted permissions in the tarball.

This sounds suspiciously like our 32 bit inode truncation problem on XFS with 64 bit inodes. We may need to upgrade pseudo in 1.6 to fix this.
Comment 3 Yi Zhao 2014-10-30 02:52:24 UTC
I had encountered a similar issue in p1022ds 2 month ago, bug 6632 . one command in the rootfs also had no execute permission.
Comment 4 Yi Zhao 2014-10-30 05:25:54 UTC
A similar bug 6913 found in qemumips image.
Comment 5 Saul Wold 2014-10-30 15:14:48 UTC
*** Bug 6913 has been marked as a duplicate of this bug. ***
Comment 6 Saul Wold 2014-10-31 22:09:50 UTC
Pending update to Pseudo in 1.6.2 branch
Comment 8 Mihail Stanciu 2015-03-31 13:47:59 UTC
Passing to reporter.