<?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>2199</bug_id>
          
          <creation_ts>2012-03-30 07:28:10 +0000</creation_ts>
          <short_desc>iptables-1.4.11 compile failed with toolchain and sdk-image on 20120328 build</short_desc>
          <delta_ts>2012-04-05 07:45:07 +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>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yilongx.y.sun</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>19683</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-03-30 07:28:10 +0000</bug_when>
    <thetext>Tree/branch: poky/1.2_M4
Commit: 4d9f4d6ac25f39fe6d5491d05c7a26195bab648b
Image location:
http://autobuilder.pokylinux.org/nightly/20120328-1/

When we compile iptables-1.4.11 with toolchain or on sdk-image. We got the following error message:
###################
In file included from libxt_pkttype.c:10:0:
/usr/include/linux/if_packet.h:176:2: error: unknown type name &apos;__aligned_u64&apos;
make[2]: *** [libxt_pkttype.oo] Error 1
make[2]: Leaving directory `/opt/tests/compile_packages/compile_packages/test_iptables/iptables-1.4.11/extensions&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tests/compile_packages/compile_packages/test_iptables/iptables-1.4.11&apos;
make: *** [all] Error 2
Making install in extensions
make[1]: Entering directory `/opt/tests/compile_packages/compile_packages/test_iptables/iptables-1.4.11/extensions&apos;
  CC       libxt_NFLOG.oo
  CCLD     libxt_NFLOG.so
  CC       libxt_string.oo
  CCLD     libxt_string.so
  CC       libxt_length.oo
  CCLD     libxt_length.so
  CC       libxt_iprange.oo
  CCLD     libxt_iprange.so
  CC       libxt_tcpmss.oo
  CCLD     libxt_tcpmss.so
  CC       libxt_owner.oo
  CCLD     libxt_owner.so
  CC       libxt_pkttype.oo
In file included from libxt_pkttype.c:10:0:
/usr/include/linux/if_packet.h:176:2: error: unknown type name &apos;__aligned_u64&apos;
make[1]: *** [libxt_pkttype.oo] Error 1
make[1]: Leaving directory `/opt/tests/compile_packages/compile_packages/test_iptables/iptables-1.4.11/extensions&apos;
make: *** [install-recursive] Error 1
###################

The iptables-1.4.12 also compile failed with the same error. But the iptables-1.4.13 could compile successfully. You can get the iptables-1.4.13 from http://www.netfilter.org/projects/iptables/downloads.html

I noticed there is a related bug 2053 also report the same error in poky. Maybe we need to update the iptables version in our test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19698</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-30 10:31:19 +0000</bug_when>
    <thetext>I&apos;d suggest you use a recent version of iptables for this since the bug has been fixed in recent versions...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19705</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-03-30 12:57:47 +0000</bug_when>
    <thetext>The fix that I put into master:

  1c19181599c41d8f0bd7f06efc654fe61c3d0bb1

is against iptables_1.4.12.2. So as Richard indicated, bumping to that version
should solve this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19842</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-04 01:07:53 +0000</bug_when>
    <thetext>Please use a more recent version of iptables for testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19930</commentid>
    <comment_count>4</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-04-05 07:45:07 +0000</bug_when>
    <thetext>With the latest version of iptables project, the bug is fixed and verified.
And i update the case to use the recent version of iptables.
Tree/branch: poky/1.2_M4
Commit: 4d9f4d6ac25f39fe6d5491d05c7a26195bab648b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>