<?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>8415</bug_id>
          
          <creation_ts>2015-09-29 20:47:55 +0000</creation_ts>
          <short_desc>qemuarm linux 3.19 and gcc5.2 don&apos;t work</short_desc>
          <delta_ts>2015-10-28 10:15:29 +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>kernel</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</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>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>akuster</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tom.zanussi</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>54797</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-09-29 20:47:55 +0000</bug_when>
    <thetext>When compile qemuarm using linux kernel 3.19 it doesn&apos;t boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55619</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-10-22 15:23:06 +0000</bug_when>
    <thetext>I am going to try to reproduce this. I assume I can use the defaults and do a preferred version on the kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55620</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-10-22 15:24:23 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I am going to try to reproduce this. I assume I can use the defaults and do
&gt; a preferred version on the kernel.

It just needs a patch that I have on both 3.14 and 4.1 .. I appear
to have missed 3.19, since I was planning to remove it completely.

I can still take care of it, I just didn&apos;t know if there were active
3.19 users, on ARM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55621</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-10-22 15:32:35 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I am going to try to reproduce this. I assume I can use the defaults and do
&gt; a preferred version on the kernel.

Yes only set the preferred version to 3.19.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55622</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-10-22 15:38:33 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; I am going to try to reproduce this. I assume I can use the defaults and do
&gt; &gt; a preferred version on the kernel.
&gt; 
&gt; It just needs a patch that I have on both 3.14 and 4.1 .. I appear
&gt; to have missed 3.19, since I was planning to remove it completely.
&gt; 
&gt; I can still take care of it, I just didn&apos;t know if there were active
&gt; 3.19 users, on ARM.

We are not using 3.19 if you are looking for data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55623</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-10-22 15:42:05 +0000</bug_when>
    <thetext>There&apos;s a patch to printk that I can apply and get 3.19 working.
I&apos;ve just been swamped with other high priority issues, and given
the lack of users, I haven&apos;t done it yet.

When 2.0 froze, I punted the thought of doing it in the next 
release.

But if there&apos;s demand, I&apos;ll carve out the patch and apply it to 3.19 
as well.

Stay tuned, I can add it to a 2.0 consolidated pull I&apos;m creating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55628</commentid>
    <comment_count>6</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-10-22 20:14:59 +0000</bug_when>
    <thetext>I just pushed this to the branch qemuarm uses:

commit 857048f10bfe7089ca6007e72431f1c098b07115
Author: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
Date:   Wed Aug 26 13:54:57 2015 +0800

    Omit to optimize vsprintf.c/kasprintf.c
    
    Add &quot;-O0&quot; for vsprintf.c/kasprintf.c
    
    Signed-off-by: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

:100644 100644 3c3b30b9e020... d8bf9e260f82... M        lib/Makefile

For the 3.19 kernel.

If someone can set the SRCREV for qemuarm to that, and test, it
would be greatly appreciated.

I can then send a formal SRCREV bump to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55630</commentid>
    <comment_count>7</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-10-22 20:24:33 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; I just pushed this to the branch qemuarm uses:
&gt; 
&gt; commit 857048f10bfe7089ca6007e72431f1c098b07115
&gt; Author: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
&gt; Date:   Wed Aug 26 13:54:57 2015 +0800
&gt; 
&gt;     Omit to optimize vsprintf.c/kasprintf.c
&gt;     
&gt;     Add &quot;-O0&quot; for vsprintf.c/kasprintf.c
&gt;     
&gt;     Signed-off-by: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
&gt;     Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
&gt; 
&gt; :100644 100644 3c3b30b9e020... d8bf9e260f82... M        lib/Makefile
&gt; 
&gt; For the 3.19 kernel.
&gt; 
&gt; If someone can set the SRCREV for qemuarm to that, and test, it
&gt; would be greatly appreciated.
&gt; 
&gt; I can then send a formal SRCREV bump to the list.

I can test it and also upgrade the recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55633</commentid>
    <comment_count>8</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-10-22 21:50:03 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; I just pushed this to the branch qemuarm uses:
&gt; 
&gt; commit 857048f10bfe7089ca6007e72431f1c098b07115
&gt; Author: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
&gt; Date:   Wed Aug 26 13:54:57 2015 +0800
&gt; 
&gt;     Omit to optimize vsprintf.c/kasprintf.c
&gt;     
&gt;     Add &quot;-O0&quot; for vsprintf.c/kasprintf.c
&gt;     
&gt;     Signed-off-by: Jianchuan Wang &lt;jianchuan.wang@windriver.com&gt;
&gt;     Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
&gt; 
&gt; :100644 100644 3c3b30b9e020... d8bf9e260f82... M        lib/Makefile
&gt; 
&gt; For the 3.19 kernel.
&gt; 
&gt; If someone can set the SRCREV for qemuarm to that, and test, it
&gt; would be greatly appreciated.
&gt; 
&gt; I can then send a formal SRCREV bump to the list.

I tested it and works, now you can send the patch to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55700</commentid>
    <comment_count>9</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-10-23 20:11:45 +0000</bug_when>
    <thetext>SRCREVs updated. Will send the patch as part of a consolidated pull request shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55793</commentid>
    <comment_count>10</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-10-26 23:53:20 +0000</bug_when>
    <thetext>It appears the NEEDINFO has been supplied</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55833</commentid>
    <comment_count>11</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-27 14:04:27 +0000</bug_when>
    <thetext>Fixed in oe-core fa9852d5d7383e6d03c756b8ad615668857b0b86.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55887</commentid>
    <comment_count>12</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-28 10:15:29 +0000</bug_when>
    <thetext>Verified on master: 8a0d8eee432924433c3e70198aaeab3161476c5f
I build a qemuarm image with Gcc5.2 and linux kernel 3.19; image boot with no issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>