graalvm / mandrel

Mandrel is a downstream distribution of the GraalVM community edition. Mandrel's main goal is to provide a native-image release specifically to support Quarkus.
Other
394 stars 15 forks source link

Mandrel 24.2.0 throws WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access #805

Open zakkak opened 4 days ago

zakkak commented 4 days ago

Description

Since https://github.com/oracle/graal/pull/9892 mandrel issues the following warning:

WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access

How To Reproduce

path/to/mandrel-java24-24.2.0-deve05805b1084/bin/native-image HelloWorld

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.

jerboaa commented 4 days ago

@zakkak Does the same occur with community builds with --no-jlinking? If so I suggest raising it upstream.

zakkak commented 4 days ago

@zakkak Does the same occur with community builds with --no-jlinking? If so I suggest raising it upstream.

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 :)

jerboaa commented 4 days ago

OK

jerboaa commented 4 days ago

Re-opening as the warning is still there.

jerboaa commented 3 days ago

Upstream PR which should fix this is now https://github.com/oracle/graal/pull/9964