[Buildroot] [PATCH] toolchain-wrapper: do not use deprecated -mfused-madd
Waldemar Brodkorb
wbx at openadk.org
Fri Aug 11 17:32:46 UTC 2017
Hi,
Thomas Petazzoni wrote,
> Hello,
>
> On Fri, 11 Aug 2017 07:28:48 +0200, Waldemar Brodkorb wrote:
> > GCC deprecated -mfused-madd, -ffp-contract=off should
> > be used for Xburst workaround.
> > uClibc compilations will fail, because a gcc warning
> > is emitted while checking for TLS support in the compiler.
>
> In which gcc version was -ffp-contract=off added ? Can we use that
> unconditionally, or is it only available in recent gcc versions ?
It was added in commit b9be572eda05cd23bbabd6409387d2c7ac782715.
Not sure how to find when it was added in a release.
4.6.4 seems to have it:
https://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/Optimize-Options.html#index-ffp_002dcontract-691
I don't find it in earlier release docs.
best regards
Waldemar
More information about the buildroot
mailing list