RFR: 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic
Andrew Haley
aph at openjdk.org
Wed Oct 12 14:11:48 UTC 2022
On Wed, 12 Oct 2022 13:58:06 GMT, Andrew Haley <aph at openjdk.org> wrote:
> We do not support gcc on macos, windows or aix, which leaves linux as the only gcc platform in the mainline (ports in separate repos will have to handle this themselves). We do support using clang on linux instead of gcc (but do not test it regularly). But my impression here is that this is more of a gcc-problem than a linux problem..?
Indeed. The problem is that we have no idea what compiler was used to compile the libraries we call, so I'd like to be conservative. The increase in runtime due to saving and restoring the floating-point environment is very low, given that `dlopen()` is a pretty expensive operation.
-------------
PR: https://git.openjdk.org/jdk/pull/10661
More information about the build-dev
mailing list