<p dir="ltr"><br>
On 12 May 2016 9:15 a.m., &quot;Richard Purdie&quot; &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt;<br>
&gt; On Thu, 2016-05-12 at 17:45 +0300, Ioan-Adrian Ratiu wrote:<br>
&gt; &gt; On Thu, 12 May 2016 07:38:00 -0700<br>
&gt; &gt; Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Thu, May 12, 2016 at 6:12 AM, Ioan-Adrian Ratiu &lt;<br>
&gt; &gt; &gt; <a href="mailto:adrian.ratiu@ni.com">adrian.ratiu@ni.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; Building gcc-cross 4.9.3 with gcc 6 fails with the following<br>
&gt; &gt; &gt; &gt; error:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; error: &#39;const char* libc_name_p(const char*, unsigned int)&#39;<br>
&gt; &gt; &gt; &gt; redeclared inline with &#39;gnu_inline&#39; attribute<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; This is a backport of the upstream fix.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I have seen couple of such patches being proposed. I was of the<br>
&gt; &gt; &gt; opinion to drop 4.9 from master however if we still want to<br>
&gt; &gt; &gt; refresh it the I would propose that we change the SRC_URI to point<br>
&gt; &gt; &gt; to<br>
&gt; &gt; &gt; latest on gcc-4_9-branch and remove any backports<br>
&gt; &gt; &gt; we have done since 4.9.3 release. It can also be merged into<br>
&gt; &gt; &gt; krogoth.<br>
&gt; &gt; &gt; Then we can latest decide if we want to keep 4.9 in<br>
&gt; &gt; &gt; 2.2 release or not. Would you be able to test such a patch<br>
&gt; &gt;<br>
&gt; &gt; Actually I&#39;m all for dropping gcc 4 from master. It&#39;s about time IMO.<br>
&gt; &gt;<br>
&gt; &gt; I need this patch to fix the build in krogoth and was just waiting<br>
&gt; &gt; for<br>
&gt; &gt; feedback on master before I sent this patch there.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ll resend for krogoth directly then :)<br>
&gt;<br>
&gt; Since several people are hitting this and we have the patch, lets merge<br>
&gt; it, then drop 4.9 as a followup.<br>
&gt;</p>
<p dir="ltr">I also sent a patch for gcc 5.3. It has the same issue.<br></p>
<p dir="ltr">&gt; Cheers,<br>
&gt;<br>
&gt; Richard<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</p>