[graalvm-dev] Graal's fdlibm clone

Foivos Zakkak fzakkak at redhat.com
Thu May 28 06:26:34 PDT 2020


Hello all,

GraalVM includes fdlibm in its source tree [1].
According to [2] this tree is a verbatim copy of
`src/share/native/java/lang/fdlibm` from JDK 7 update 40.
Since fdlibm is part of the OpenJDK (and LabsJDK) why does GraalVM need
to link against an older version of fdlibm?

A diff between jdk7 and jdk11 [3] indicates that several methods have
been removed from fdlibm, does GraalVM rely on these methods being present?
Would you consider linking native-images with OpenJDK's fdlibm safe?
If not, what is nesseccary to achieve this?

Thanks,
Foivos

[1]
https://github.com/oracle/graal/tree/8f5732eac5ae8aea4b3aeba7ec44205f4d20c50b/substratevm/src/com.oracle.svm.native.strictmath/src/fdlibm
[2]
https://github.com/oracle/graal/blob/8f5732eac5ae8aea4b3aeba7ec44205f4d20c50b/substratevm/src/com.oracle.svm.native.strictmath/src/StrictMath.c#L28-L34
[3] https://gist.github.com/zakkak/f50b96f62f81a56886fd6f411f3c762e

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-dev/attachments/20200528/86edbf2c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://oss.oracle.com/pipermail/graalvm-dev/attachments/20200528/86edbf2c/attachment.bin 


More information about the GraalVM-Dev mailing list