RFR: JDK-8302801: Remove fdlibm C sources
Erik Joelsson
erikj at openjdk.org
Thu Mar 2 14:09:08 UTC 2023
On Thu, 2 Mar 2023 05:54:52 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> While the review of https://github.com/openjdk/jdk/pull/12800 finishes up, I thought I'd get out for the review the next phase of the FDLIBM port: removing the FDLIBM C sources from the repo.
>
> A repo with the changes for JDK-8302027 and this PR successful build on the default set of platform and successfully run tier 1 tests, which includes tests of the math library.
>
> There are a few remaining references to the case-independent string "fdlibm" in the make directory and HotSpot sources. HotSpot contains a partial fork for FDLIBM (a tine of FDLIBM?) to use for intrinsics. The remaining make machinery contains logic to determine what set of gcc options can be used for the compile.
>
> The intention of this change is to remove use of FDLIBM for the core libraries.
make/autoconf/buildjdk-spec.gmk.in line 85:
> 83: JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
> 84:
> 85: FDLIBM_CFLAGS := @OPENJDK_BUILD_FDLIBM_CFLAGS@
If the hotspot build still needs `FDLIBM_CFLAGS`, then this line needs to stay.
-------------
PR: https://git.openjdk.org/jdk/pull/12821
More information about the build-dev
mailing list