[yocto] Cross platform compiling/build issue: "Yocto - QA Issue: Architecture did not match (20 to 62) "
Dinh Nguyen (dinhn)
dinhn at cisco.com
Mon Oct 10 22:18:15 PDT 2016
Hi folks,
I am trying to have cross platform build with Yocto/IOX SDK for our c-mlib lib. I am able to compile and build IPK packages and LXC container for x86 target.
Using the same c-mlib.bb recipe, trying to cross compiling and build for a PPC 32-bit target on my 64-bit build environment.
Here is the build configuration
Build Configuration:
BB_VERSION = "1.24.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "powerpc-poky-linux-gnuspe"
MACHINE = "isr800-lxc"
DISTRO = "poky"
DISTRO_VERSION = "1.7.2"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta-cisco-iox-base
meta-cisco-isr800
meta-fsl-ppc-dizzy-12.0.2
meta
meta-yocto
And having the following error:
ERROR: QA Issue: Architecture did not match (20 to 62) on /work/ppce500v2-poky-linux-gnuspe/c-mlib/1.1-r0/packages-split/c-mlib/usr/bin/xxx [arch]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
Question is:
How to solve a cross compiling/build for a PPC 32-bit object on a 64 bit linux environment?
Many thanks in advance,
—Dinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161011/6478bd53/attachment.html>
More information about the yocto
mailing list