-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mandrel 24.2.0 throws WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access #805
Comments
@zakkak Does the same occur with community builds with |
I think that's not related to jlinking, but related to whether the build includes the truffle api package or not. I have an upstream fix ready, which I am currently testing :) |
OK |
Since oracle#9892 got merged, passing the parameter `--enable-native-access=org.graalvm.truffle` to GraalVM builds not shipping the truffle api results in the following warning: ``` WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access ``` This patch checks whether the Truffle Runtime SVM component is part of the GraalVM distribution to figure out whether the parameter should be included or not. Fixes graalvm#805
Since we explicitly don't build and ship core truffle packages there is no point in including this component. Required by oracle/graal#9957 to resolve graalvm/mandrel#805 but makes sense to merge regardless of whether graalvm/mandrel#805 will end up being accepted or not.
Re-opening as the warning is still there. |
Upstream PR which should fix this is now oracle#9964 |
Closing this since oracle#9964 has now been integrated. |
Description
Since oracle#9892 mandrel issues the following warning:
How To Reproduce
Configuration:
Expected behavior
No warning should be shown.
Additional context
Since we don't ship truffle we need to remove it from the
--enable-native-access
in mandrel builds.The text was updated successfully, but these errors were encountered: