<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3125</bug_id>
          
          <creation_ts>2012-09-18 10:52:38 +0000</creation_ts>
          <short_desc>iptable 1.4.15 compile failed on qemux86,qemuarm i686 gmae-toolchain</short_desc>
          <delta_ts>2012-10-29 07:50:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liang li">liang.li2</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>constantinx.musca</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25350</commentid>
    <comment_count>0</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-09-18 10:52:38 +0000</bug_when>
    <thetext>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&apos;
Making all in utils
make[2]: Entering directory `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/utils&apos;
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=\&quot;/usr/local/lib/xtables\&quot; -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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15&apos;
make: *** [all] Error 2

git info:e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c
git branch:poky/1.3_M4

test env:
host : Fedora 17 i686</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25437</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-09-19 23:25:46 +0000</bug_when>
    <thetext>Both of these are related

*** This bug has been marked as a duplicate of bug 2768 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25561</commentid>
    <comment_count>2</comment_count>
    <who name="Constantin Musca">constantinx.musca</who>
    <bug_when>2012-09-24 06:32:43 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; 1.3 M4 toolchain from below :
&gt; http://autobuilder.yoctoproject.org/pub/nightly/20120916-2/toolchain/i686/
&gt; poky-eglibc-i686-i586-toolchain-gmae-1.2+snapshot-20120916.sh
&gt; http://autobuilder.yoctoproject.org/pub/nightly/20120916-2/toolchain/i686/
&gt; poky-eglibc-i686-arm-toolchain-gmae-1.2+snapshot-20120916.sh
&gt; 
&gt; steps below (qemuarm for example):
&gt; 1. source /opt/poky/1.2+snapshot/environment-setup-armv5te-poky-linux-gnueabi
&gt; 2. ./configure ${CONFIGURE_FLAGS}
&gt; 3. make
&gt; 
&gt; errors found below:
&gt; ...
&gt; make[2]: Leaving directory
&gt; `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/include&apos;
&gt; Making all in utils
&gt; make[2]: Entering directory
&gt; `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/utils&apos;
&gt; arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork 
&gt; -mtune=arm926ej-s
&gt; --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi
&gt; -DHAVE_CONFIG_H -I. -I..  -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES
&gt; -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
&gt; -DXTABLES_LIBDIR=\&quot;/usr/local/lib/xtables\&quot; -DXTABLES_INTERNAL -I../include
&gt; -I../include   -Wall -Waggregate-return -Wmissing-declarations 
&gt; -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 
&gt; -Winline -pipe -O2 -pipe -g -feliminate-unused-debug-types -MT nfnl_osf.o
&gt; -MD -MP -MF .deps/nfnl_osf.Tpo -c -o nfnl_osf.o nfnl_osf.c
&gt; nfnl_osf.c:45:39: fatal error: libnfnetlink/libnfnetlink.h: No such file or
&gt; directory
&gt; compilation terminated.
&gt; make[2]: *** [nfnl_osf.o] Error 1
&gt; make[2]: Leaving directory
&gt; `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15/utils&apos;
&gt; make[1]: *** [all-recursive] Error 1
&gt; make[1]: Leaving directory
&gt; `/buildarea/tester/test_compile_toolchain_fedora/iptables-1.4.15&apos;
&gt; make: *** [all] Error 2
&gt; 
&gt; git info:e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c
&gt; git branch:poky/1.3_M4
&gt; 
&gt; test env:
&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26467</commentid>
    <comment_count>3</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-10-10 09:24:06 +0000</bug_when>
    <thetext>Bug 2768 has been fixed, but make still fail. So separate them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26517</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-10-11 13:39:19 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; 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&apos;t reproduce on my machine (FC17, 32bit)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26545</commentid>
    <comment_count>5</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-10-12 10:03:15 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Bug 2768 has been fixed, but make still fail. So separate them.
&gt; 
&gt; Hello Kai,
&gt; Are you still having this problem with RC4?
&gt; (c9de24d3f4845251b01e2eab0aeeb7472badc5bb).
&gt; 
&gt; I have tested with it and I couldn&apos;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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26895</commentid>
    <comment_count>6</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2012-10-25 09:48:36 +0000</bug_when>
    <thetext>Because configure checks that libnfnetlink doesn&apos;t exist, so make doesn&apos;t link to libnfnetlink.so any more. Then make succeeds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26994</commentid>
    <comment_count>7</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-10-29 07:50:54 +0000</bug_when>
    <thetext>no such error on:
git info:33440ee70623394d06a4b214c2be10788cba6d08
git branch: poky/master

test env:
host: Fedora 17 i686</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>