<?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>7717</bug_id>
          
          <creation_ts>2015-05-05 11:59:14 +0000</creation_ts>
          <short_desc>build issues with Thumb-1, when building for qemuarm (armv5te)</short_desc>
          <delta_ts>2016-03-04 11:42:02 +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>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=9213</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>dbaryshkov</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <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>50784</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-05-05 11:59:14 +0000</bug_when>
    <thetext>Like in [YOCTO #1709], there are new issues when building for Thumb-1 MACHINE.

e.g.
meta/recipes-devtools/guile/guile_2.0.11.bb
meta/recipes-devtools/gdb/gdb_7.9.b
meta/recipes-support/icu/icu_55.1.bb

and more (will be included in next world build report)

Some changes were sent, but never merged:
http://patchwork.openembedded.org/patch/75817/
http://patchwork.openembedded.org/patch/75703/

This is still broken in oe-core, would it make sense to enable thumb on
one of autobuilder jobs (for qemuarm)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50788</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-05-05 13:48:54 +0000</bug_when>
    <thetext>Number of failing recipes (some failing with ICE or getting stuck until OOM killer kills them) suggest that current gcc-cross is a bit broken in oe-core

openembedded-core/meta/recipes-devtools/gcc/gcc_4.9.bb, do_compile
openembedded-core/meta/recipes-support/libunwind/libunwind_1.1.bb, do_compile
openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb, do_compile
openembedded-core/meta/recipes-devtools/opensp/opensp_1.5.2.bb, do_compile
meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb, do_compile
meta-openembedded/meta-oe/recipes-multimedia/libopus/libopus_1.1.bb, do_compile
meta-openembedded/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb, do_compile
meta-openembedded/meta-oe/recipes-core/llvm/llvm3.3_3.3.bb, do_compile
meta-openembedded/meta-oe/recipes-devtools/php/php_5.5.24.bb, do_compile
meta-openembedded/meta-gnome/recipes-gnome/libsecret/libsecret_0.18.bb, do_compile
meta-openembedded/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb, do_compile
meta-openembedded/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb, do_compile
meta-openembedded/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb, do_compile
meta-openembedded/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb, do_compile

It&apos;s possible that there is even more issues (some hidden by dependencies failing already).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50836</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2015-05-07 06:53:31 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Like in [YOCTO #1709], there are new issues when building for Thumb-1
&gt; MACHINE.
&gt; 
&gt; e.g.
&gt; meta/recipes-devtools/guile/guile_2.0.11.bb
&gt; meta/recipes-devtools/gdb/gdb_7.9.b
&gt; meta/recipes-support/icu/icu_55.1.bb
&gt; 
&gt; and more (will be included in next world build report)
&gt; 
&gt; Some changes were sent, but never merged:
&gt; http://patchwork.openembedded.org/patch/75817/
&gt; http://patchwork.openembedded.org/patch/75703/
&gt; 

the patches in essence are fine but please make them thumb1 specific
it should not disable thumb2

&gt; This is still broken in oe-core, would it make sense to enable thumb on
&gt; one of autobuilder jobs (for qemuarm)?

probably, although, practically there are less and less usecases of thumb1
and thumb2 probably would cover a wider set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50964</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-05-13 12:50:34 +0000</bug_when>
    <thetext>Patches disabling thumb in other recipes sent to MLs:

guile, mailx, gcc, opensp, gstreamer1.0-libav,	libunwind:
http://lists.openembedded.org/pipermail/openembedded-core/2015-May/104856.html

gegl, crash, libsecret, mpg123, tinymembench,	gammu, mosh, llvm3.3, breakpad, php, mozjs,	libopus:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-May/101502.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50984</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-05-14 07:05:41 +0000</bug_when>
    <thetext>I think that rather than filling recipes with large compile failure logs, it may make more sense to put these into an include file like we do with security flags?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51031</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Baryshkov">dbaryshkov</who>
    <bug_when>2015-05-15 07:20:45 +0000</bug_when>
    <thetext>This looks like a compiler regression. Does thumb1 work with gcc 4.8 compiler?
Dropping thumb1 will look like a problem to a hobbyist part of myself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51032</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-05-15 07:41:12 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I think that rather than filling recipes with large compile failure logs, it
&gt; may make more sense to put these into an include file like we do with
&gt; security flags?

Is it OK, to put overrides for recipes in other layers to .inc file in
oe-core? If yes then I agree and will convert this into .inc file in
conf/machine/include/ (included by default for thumb1 machine tunes)

&gt; This looks like a compiler regression. Does thumb1 work with gcc 4.8 compiler?

I agree, sane compiler shouldn&apos;t be failing with ICE (for whatever combination of tune parameters).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51041</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry Baryshkov">dbaryshkov</who>
    <bug_when>2015-05-15 12:14:40 +0000</bug_when>
    <thetext>I have checked GCC 4.8. At least ICU and gdb got built w/o any errors. Mosh OTOH fails due to upstream error. It looks (on the first glance) like the rest of &apos;assembler&apos; errors are upstream bugs -- somebody assuming that assembler instructions are available on all ARM versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51047</commentid>
    <comment_count>8</comment_count>
    <who name="Dmitry Baryshkov">dbaryshkov</who>
    <bug_when>2015-05-15 12:56:11 +0000</bug_when>
    <thetext>5.1 is also buggy wrt ICU compilation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55124</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-10-09 15:14:01 +0000</bug_when>
    <thetext>There are few more failures with gcc-5.2

I haven&apos;t seen any answer about other layers in .inc files, so I&apos;ve just sent
http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111424.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55259</commentid>
    <comment_count>10</comment_count>
    <who name="Dmitry Baryshkov">dbaryshkov</who>
    <bug_when>2015-10-13 13:32:45 +0000</bug_when>
    <thetext>Filed the upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67954

Bisection points to pretty strange commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&amp;revision=210824</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55289</commentid>
    <comment_count>11</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2015-10-14 11:33:28 +0000</bug_when>
    <thetext>Ross asked me to replace the actual error logs with links to errors.yp, I&apos;ve sent updated patches:

http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111538.html
http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111539.html

gdb 7.9.1 doesn&apos;t need this anymore like 7.9 did</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59414</commentid>
    <comment_count>12</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-02-24 02:05:45 +0000</bug_when>
    <thetext>Another case in oe-core is now ffmpeg when libav was replaced with it and ARM_INSTRUCTION_SET was removed in:

http://git.openembedded.org/openembedded-core/commit/?id=77dbf07293df15cd5473422abd678930d6277bb0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59415</commentid>
    <comment_count>13</comment_count>
    <who name="Dmitry Baryshkov">dbaryshkov</who>
    <bug_when>2016-02-24 02:07:58 +0000</bug_when>
    <thetext>Martin,

could you please check if the bug persists with the patches from the upstream bug? Also where can I find the ffmpeg build failure log?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59416</commentid>
    <comment_count>14</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-02-24 02:23:21 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117946.html

or full log in:
http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117847.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59687</commentid>
    <comment_count>15</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-03-03 17:18:06 +0000</bug_when>
    <thetext>Fixed in 8c2e420398c38794db7ef1922000820bd897f5a7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59699</commentid>
    <comment_count>16</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-03-03 18:04:51 +0000</bug_when>
    <thetext>Please keep it open until one qemuarm build on autobuilder is configured to enable thumb so that we can prevent such issues in future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59723</commentid>
    <comment_count>17</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-03-04 11:10:26 +0000</bug_when>
    <thetext>Uhm, no. This bug is about fixing build issues in recipes. If you want changes in autobuilder, please open a different bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59725</commentid>
    <comment_count>18</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-03-04 11:39:25 +0000</bug_when>
    <thetext>#9213</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>