<div dir="ltr"><span class="gmail-"></span><br><span class="gmail-"></span><div class="gmail_extra"><div class="gmail_quote"><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-">
> The above link points to gcc rpms of v4.8.1/2, but the "-Wstack-usage"<br>
> option<br>
> was introduced in gcc v4.9.x; so I think the problem exists with the above<br>
> rpms.<br>
> Ref: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=19854" rel="noreferrer" target="_blank">https://sourceware.org/<wbr>bugzilla/show_bug.cgi?id=19854</a><br>
><br>
<br>
</span>Then you might need to install devtool version 6<br>
<br>
<a href="https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/" rel="noreferrer" target="_blank">https://www.<wbr>softwarecollections.org/en/<wbr>scls/rhscl/devtoolset-6/</a><br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div>Basically, we are intentionally building binaries/libraries on</div><div>lower versions of distro; in order to make sure they (binaries/libraries) <br></div><div>work on higher/latest distros. Installing this devtoolset can solve the issue, <br></div><div>but our purpose will not be met.</div><div><br></div><div>However, Thank You for the info; it would help someone in future.</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">
<br>
> Regards,<br>
> Jagadeesh<br>
><br>
>> > gprof' cc1: error: unrecognized command line option<br>
>> > "-Wstack-usage=262144"<br>
>> ><br>
>> > Signed-off-by: Jagadeesh Krishnanjanappa <<a href="mailto:jkrishnanjanappa@mvista.com">jkrishnanjanappa@mvista.com</a>><br>
>> > Reviewed-by: Jeremy Puhlman <<a href="mailto:jpuhlman@mvista.com">jpuhlman@mvista.com</a>><br>
>> > Signed-off-by: Armin Kuster <<a href="mailto:akuster@mvista.com">akuster@mvista.com</a>><br>
>> > ---<br>
>> > meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc | 7 +++++++<br>
>> > 1 file changed, 7 insertions(+)<br>
>> ><br>
>> > diff --git a/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
>> > b/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
>> > index ae14642..30e3bc6 100644<br>
>> > --- a/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
>> > +++ b/meta/recipes-devtools/<wbr>binutils/binutils-cross-<wbr>canadian.inc<br>
>> > @@ -12,6 +12,13 @@ EXTRA_OECONF +=<br>
>> > "--with-sysroot=${SDKPATH}/<wbr>sysroots/${TUNE_PKGARCH}${<wbr>TARGET_VEND<br>
>> > # e.g. we switch between different machines with different tunes.<br>
>> > EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"<br>
>> ><br>
>> > +EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes<br>
>> > -Wmissing-prototypes -Wshadow'"<br>
>> > +do_configure_prepend () {<br>
>> > + sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"<br>
>> > + sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"<br>
>> > + sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"<br>
>> > +}<br>
>> > +<br>
>> > do_install () {<br>
>> > autotools_do_install<br>
>> ><br>
>> > --<br>
>> > 2.7.4<br>
>> ><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>
>> --<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>
><br>
><br>
</div></div></blockquote></div><br></div></div>