Re: cflag ffast-math

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 25, 2018 at 2:53 PM, Sérgio Basto <sergio@xxxxxxxxxx> wrote:
Hi,
Question about gcc cflag ffast-math .
Should I enable cflag ffast-math on opencv build explicitly
( -DENABLE_FAST_MATH=ON ) ? and I keep disable cflag ffast-math in mlt
build [1] ?


I have no meaningful comment on compiling with -ffast-math, but you absolutely should not *link* with -ffast-math.  See:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522

and

https://bugzilla.redhat.com/show_bug.cgi?id=1248744

Also, if any toolchain people are listening, maybe you could consider fixing the GCC bug?  It should be easy, since it mostly consists of option tweaking.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux