Open liudonghua123 opened 2 months ago
I tried graalvm ee version (graalvm-jdk-21.0.3+7.1), then this error disappeared, but the binary size is very big and the simple hello.exe run with 16.406s.
Hello @liudonghua123 we are working on this. We will get back to you as soon as we can.
Thank you @liudonghua123 , we are tracking the issue related to the CE version, for the size it's a known issue, also we noticed the run time issue during the first run
The bug is reproducible on the following software combination:
Describe the issue
I tried to test building binary (native image) for hello.py using
graalpy -v -m standalone native --module hello.py --output hello.exe
. But it failed with the following errors.I noticed the main error seems like
Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath.
.Details
``` Liu.D.H graalvm 28ms 08:36 > cat hello.py print('hello') Liu.D.H graalvm 334ms 08:36 > Liu.D.H graalvm 1.03s 08:36 > graalpy -v -m standalone native --module hello.py --output hello.exe Apr 18, 2024 8:36:25 AM org.graalvm.shadowed.org.jline.utils.Log logr WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) [To redirect Truffle log output to a file use one of the following options: * '--log.file=Steps to reproduce the issue Please include both build steps as well as run steps
Describe GraalVM and your environment:
More details
See also https://github.com/oracle/graal/issues/8212#issuecomment-2062782998.