<?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>6606</bug_id>
          
          <creation_ts>2014-08-03 23:01:24 +0000</creation_ts>
          <short_desc>libseccomp fails on ppc &amp; mips64</short_desc>
          <delta_ts>2015-10-14 13:03:06 +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>Other YP Layers</product>
          <component>meta-security</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>ppc</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.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44937</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2014-08-03 23:01:24 +0000</bug_when>
    <thetext>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&apos;
| 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45151</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2014-08-16 02:02:11 +0000</bug_when>
    <thetext>there is no mips support either.

Upstream has Mips and arm64 support but no ppc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45382</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2014-09-04 05:08:34 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49887</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-03-28 04:33:13 +0000</bug_when>
    <thetext>version 2.2 has mips and arm64 support.


ppc is not yet in master libsecomp. once it is, I will pull in the changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50281</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-04-13 22:14:41 +0000</bug_when>
    <thetext>ppc updates in master-next</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50367</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-04-16 21:53:57 +0000</bug_when>
    <thetext>fixed and checked into master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55295</commentid>
    <comment_count>6</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-14 13:03:06 +0000</bug_when>
    <thetext>Successful build  bitbake core-image-minimal for qemuarm64  qemumips64  qemuppc
on master 7b86c771c80d0759c2ca0e57c46c4c966f89c49e

local.conf 

CONF_VERSION = &quot;1&quot;
IMAGE_INSTALL_append = &quot; packagegroup-core-security clamav suricata sleuthkit&quot;
IMAGE_INSTALL_append = &quot; ruby ruby-dev bundler libseccomp&quot;


bblayers.conf 

BBLAYERS ?= &quot; \
  /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 \
  &quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>