Closed kkriske closed 7 months ago
@kkriske please fix conflicts (and do the refactoring if needed)
I've left some comments. Tested successfully (with some changes) on Mac with Gluon's GraalVM 22.1.0.1-Final and the official GraalVM 21+35.1 (using also #1234)
In any case, note that the official GraalVM 21 builds will still fail building native images for mobile targets (more changes are required on Substrate, but also probably on the GraalVM builds)
Hey...could you tell me if Gluon is planning on a new official Gluon GraalVM build anytime soon?
--add-exports
flag required for the GluonFeature internal API usageIssue
Builds against GraalVM for JDK 21 run into some issues:
Windows specific issues:
nio
library now depends onmswsock
, so that needs to be added to the linkerfdlibm
library is no longer part of the JDK so it should be removed from the linker, not sure since what exact JDK versionextnet
library is now used on Windows in theWindowsSocketOptions
class, so it needs to be added to the linkerLinux specific issues:
fdlibm
library is no longer part of the JDK so it should be removed from the linker, not sure since what exact JDK versionOther:
fdlibm
should probably be removed from the remaining targets as well, but I have no way to verify that.Progress