<?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>1918</bug_id>
          
          <creation_ts>2012-01-18 06:45:14 +0000</creation_ts>
          <short_desc>[x32] insane.bbclass reports error for x32 kernel</short_desc>
          <delta_ts>2012-02-09 00:17:48 +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.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>sgw</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>18210</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-01-18 06:45:14 +0000</bug_when>
    <thetext>tree/branch: poky/1.2_M2
commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0

In 1.2_M2 testing, x32 build will have error by reporting mismatch architecture for kernel. Nitin already has a fixing patch @ http://patches.openembedded.org/patch/19213/ but it has not been in master and 1.2_M2 branch.

The error log as below:
#######
| DEBUG: LIBNAMES: pkg perf libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-vmlinux libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-modules libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-misc libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-image libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-dev libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel-base libs 0 bins 0 sonames []
| DEBUG: LIBNAMES: pkg kernel libs 0 bins 0 sonames []
| DEBUG: calculating shlib provides for perf-dbg
| DEBUG: calculating shlib provides for perf
| DEBUG: calculating shlib provides for kernel
| DEBUG: calculating shlib provides for kernel-base
| DEBUG: calculating shlib provides for kernel-image
| DEBUG: calculating shlib provides for kernel-dev
| DEBUG: calculating shlib provides for kernel-vmlinux
| DEBUG: calculating shlib provides for kernel-misc
| DEBUG: calculating shlib provides for kernel-modules
| DEBUG: calculating shlib requirements for perf-dbg
| DEBUG: calculating shlib requirements for perf
| DEBUG: calculating shlib requirements for kernel
| DEBUG: calculating shlib requirements for kernel-base
| DEBUG: calculating shlib requirements for kernel-image
| DEBUG: calculating shlib requirements for kernel-dev
| DEBUG: calculating shlib requirements for kernel-vmlinux
| DEBUG: calculating shlib requirements for kernel-misc
| DEBUG: calculating shlib requirements for kernel-modules
| NOTE: DO PACKAGE QA
| NOTE: Checking Package: perf-dbg
| NOTE: Checking Package: perf
| NOTE: Checking Package: kernel
| NOTE: Checking Package: kernel-base
| NOTE: Checking Package: kernel-image
| NOTE: Checking Package: kernel-dev
| NOTE: Checking Package: kernel-vmlinux
| ERROR: QA Issue: Architecture did not match (62 to 3) on /work/qemux86_64-poky-linux-gnux32/linux-korg-3.1+git1+e2bf8464ddbf5da24d3d320cded5691828a91a0b-r1/packages-split/kernel-vmlinux/boot/vmlinux-3.1.0-yocto-standard-01628-ge2bf846
| NOTE: Checking Package: kernel-misc
| NOTE: Checking Package: kernel-modules
| ERROR: QA run found fatal errors. Please consider fixing them.
| ERROR: Function &apos;do_package_qa&apos; failed
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18365</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-01-25 16:09:59 +0000</bug_when>
    <thetext>That commit is already in the master branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18542</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-02-07 22:04:08 +0000</bug_when>
    <thetext>Yilong,
Could you help to check if x32 build could work against master and verify the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18560</commentid>
    <comment_count>3</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-02-09 00:17:48 +0000</bug_when>
    <thetext>I use latest poky and meta-intel layer source to build x32, both build and boot successful.

Tree/Branch: Poky/master
Poky Commit:1e8b62991a800c3e4c6d1cb5ae622ae0edc8d74d
Meta-x32 Branch: master
Meta-x32 commit:889b052cadc3707012ef1f2f4b7808b82f36dfc2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>