<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-"></span><span class="gmail-">&gt; From: Armin Kuster &lt;<a href="mailto:akuster@mvista.com">akuster@mvista.com</a>&gt;</span><br><span class="gmail-"></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
&gt;<br>
&gt; Per Yocto Compatable: The following change was made to fix a build issue we are seeing on<br>
&gt; Centos 6. Not expecting this to be merge.<br>
&gt;<br>
&gt; binutils-cross-canadian-arm-2.<wbr>27-r0.47: task do_compile:<br>
&gt;<br>
<br>
</span>does installing <a href="https://people.centos.org/tru/devtools-2/6/x86_64/RPMS/" rel="noreferrer" target="_blank">https://people.centos.org/tru/<wbr>devtools-2/6/x86_64/RPMS/</a> help ?<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div>The above link points to gcc rpms of v4.8.1/2, but the  &quot;-Wstack-usage&quot; option</div><div>was introduced in gcc v4.9.x; so I think the problem exists with the above rpms.</div><div>Ref: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=19854">https://sourceware.org/bugzilla/show_bug.cgi?id=19854</a></div><div><br></div><div>Regards,</div><div>Jagadeesh</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
&gt; gprof&#39; cc1: error: unrecognized command line option &quot;-Wstack-usage=262144&quot;<br>
&gt;<br>
&gt; Signed-off-by: Jagadeesh Krishnanjanappa &lt;<a href="mailto:jkrishnanjanappa@mvista.com">jkrishnanjanappa@mvista.com</a>&gt;<br>
&gt; Reviewed-by: Jeremy Puhlman &lt;<a href="mailto:jpuhlman@mvista.com">jpuhlman@mvista.com</a>&gt;<br>
&gt; Signed-off-by: Armin Kuster &lt;<a href="mailto:akuster@mvista.com">akuster@mvista.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc | 7 +++++++<br>
&gt;  1 file changed, 7 insertions(+)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc b/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
&gt; index ae14642..30e3bc6 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
&gt; @@ -12,6 +12,13 @@ EXTRA_OECONF += &quot;--with-sysroot=${SDKPATH}/<wbr>sysroots/${TUNE_PKGARCH}${<wbr>TARGET_VEND<br>
&gt;  # e.g. we switch between different machines with different tunes.<br>
&gt;  EXTRA_OECONF[vardepsexclude] = &quot;TUNE_PKGARCH&quot;<br>
&gt;<br>
&gt; +EXTRA_OEMAKE += &quot;WARN_CFLAGS=&#39;-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow&#39;&quot;<br>
&gt; +do_configure_prepend () {<br>
&gt; +       sed -i ${S}/bfd/warning.m4 -e &quot;/Wstack-usage/D&quot;<br>
&gt; +       sed -i ${S}/bfd/configure -e &quot;s/-Wstack-usage=262144//&quot;<br>
&gt; +       sed -i ${S}/binutils/configure -e &quot;s/-Wstack-usage=262144//&quot;<br>
&gt; +}<br>
&gt; +<br>
&gt;  do_install () {<br>
&gt;         autotools_do_install<br>
&gt;<br>
&gt; --<br>
&gt; 2.7.4<br>
&gt;<br>
</div></div><span class="gmail-HOEnZb"><font color="#888888">&gt; --<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div></div>