Bug 1918 - [x32] insane.bbclass reports error for x32 kernel
Summary: [x32] insane.bbclass reports error for x32 kernel
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-01-18 06:45 UTC by Jiajun Xu
Modified: 2012-02-09 00:17 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2012-01-18 06:45:14 UTC
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 'do_package_qa' failed
#######
Comment 1 Nitin Kamble 2012-01-25 16:09:59 UTC
That commit is already in the master branch.
Comment 2 Jiajun Xu 2012-02-07 22:04:08 UTC
Yilong,
Could you help to check if x32 build could work against master and verify the bug?
Comment 3 yilong, sun 2012-02-09 00:17:48 UTC
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