Bug 6606 - libseccomp fails on ppc & mips64
Summary: libseccomp fails on ppc & mips64
Status: VERIFIED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-security (show other bugs)
Version: unspecified
Hardware: x86 ppc
: Medium normal
Target Milestone: 1.9
Assignee: Armin Kuster
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-08-03 23:01 UTC by Armin Kuster
Modified: 2015-10-14 13:03 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2014-08-03 23:01:24 UTC
libseccomp does not support PPC.

 make[1]: Entering directory `/home/akuster/oss/yocto/poky/build/tmp/work/ppc7400-poky-linux/libseccomp/2.1.1-r0/libseccomp-2.1.1/src'
| arch.c:50:2: error: #error the arch code needs to know about your machine type
|  #error the arch code needs to know about your machine type
|   ^
| make[1]: *** [arch.o] Error 1
Comment 1 Armin Kuster 2014-08-16 02:02:11 UTC
there is no mips support either.

Upstream has Mips and arm64 support but no ppc.
Comment 2 Armin Kuster 2014-09-04 05:08:34 UTC
mips64 just went in. No ppc movement.
Aarch64 is in as well.


seccomp kernel suport is changes soon so we may need specific verions of libseccomp to match kernel like ltt-ng.
Comment 3 Armin Kuster 2015-03-28 04:33:13 UTC
version 2.2 has mips and arm64 support.


ppc is not yet in master libsecomp. once it is, I will pull in the changes.
Comment 4 Armin Kuster 2015-04-13 22:14:41 UTC
ppc updates in master-next
Comment 5 Armin Kuster 2015-04-16 21:53:57 UTC
fixed and checked into master.
Comment 6 Bogdan Alexandru Voiculescu 2015-10-14 13:03:06 UTC
Successful build  bitbake core-image-minimal for qemuarm64  qemumips64  qemuppc
on master 7b86c771c80d0759c2ca0e57c46c4c966f89c49e

local.conf 

CONF_VERSION = "1"
IMAGE_INSTALL_append = " packagegroup-core-security clamav suricata sleuthkit"
IMAGE_INSTALL_append = " ruby ruby-dev bundler libseccomp"


bblayers.conf 

BBLAYERS ?= " \
  /home/autobuilder/yocto/poky/meta \
  /home/autobuilder/yocto/poky/meta-yocto \
  /home/autobuilder/yocto/poky/meta-yocto-bsp \
  /home/autobuilder/yocto/poky/meta-security \
  /home/autobuilder/yocto/poky/meta-openembedded/meta-oe \
  /home/autobuilder/yocto/poky/meta-openembedded/meta-ruby \
  /home/autobuilder/yocto/poky/meta-openembedded/meta-perl \
  /home/autobuilder/yocto/poky/meta-openembedded/meta-python \
  /home/autobuilder/yocto/poky/meta-openembedded/meta-networking \
  "