<?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>3596</bug_id>
          
          <creation_ts>2012-12-13 19:52:06 +0000</creation_ts>
          <short_desc>cogl fails to build on arm - world builds</short_desc>
          <delta_ts>2013-02-26 01:03:23 +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>graphics</component>
          <version>1.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</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.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>Martin.Jansa</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>28264</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-12-13 19:52:06 +0000</bug_when>
    <thetext>ERROR: Task 13533 (/OE/jansa-test/shr-core/openembedded-core/meta/recipes-graphics/clutter/cogl_1.8.2.bb, do_compile) failed with exit code &apos;1&apos;
   | {standard input}:542: Error: selected processor does not support Thumb mode `clz r3,r0&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28283</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-12-14 09:57:39 +0000</bug_when>
    <thetext>I built cogl package for both qemuarm and beagleboard machines without any issues. See the build configurations below. Also, according to ARM documentation for the CLZ instruction:

&quot;This ARM instruction is available in ARMv5T and above.
This 32-bit Thumb instruction is available in ARMv6T2 and above.
There is no 16-bit Thumb version of this instruction.&quot;

Can you please provide more info about the config used to replicate the issue?

Configs I used:
[1]
Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121214&quot;
TUNE_FEATURES     = &quot;armv5 thumb dsp&quot;
TARGET_FPU        = &quot;soft&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:da598d4f0fcf6faa62055084a51d70d735399d33&quot;

[2]
Build Configuration:
BB_VERSION        = &quot;1.17.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20121214&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon&quot; 
TARGET_FPU        = &quot;vfp-neon&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:da598d4f0fcf6faa62055084a51d70d735399d33&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28337</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-12-18 00:58:42 +0000</bug_when>
    <thetext>This bug came from a list of issues that Martin Jansa Pointed out when building arm with world.  It may have been he was building distro-less or with his distro, please refer to the &quot;State of bitbake World&quot; email on the oe-core list and maybe reply to Martin for more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30094</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2013-02-26 01:03:23 +0000</bug_when>
    <thetext>No idea since when, but now it seems to be building correctly on distro-less qemuarm.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>