Comments (6)
Thank you for the extra details. 👍
from graal.
Hello @davinkevin
For this version: 22.0.1
, to be able to use --static
you need to install musl libc
. Here is the change log, I suggest you check it out. Also you can find instructions on installing musl
here.
from graal.
@ZynoZin , I know, but should this be included in the docker image provided by the project?
from graal.
Hello @davinkevin , thank you for reaching out. Can you please check this image: ghcr.io/graalvm/native-image-community:22.0.1-muslib
it should have the needed library.
from graal.
Thank you for your answer. I just discover this new image, good to know.
Using this image, and with --static --libc=musl
, I have now the correct result, similar to what I had with 22.0.0
.
PS: There is a strange error if --libc=musl
is not provided, maybe something to improve.
Finally, you answered part of my request, you still think this breaking change in the cli "api" is not an issue for a patch release?
from graal.
No, this change was necessary because there was a bug when musl
is not used in this case, so it became required. Thus, it throws an error during build time if not used. And it was mentioned in the patch release change log.
from graal.
Related Issues (20)
- [GR-53491] Consider adding support for Callback on closing event of polyglot Context object
- Accented characters issue when using java.nio.file.Path HOT 2
- Premature initialization of SVM encodings HOT 2
- [GR-53706] Behaviour of `Class#getPackage()` in Native Image is different than Java for Proxy classes HOT 2
- Invalid logger interface org.infinispan.commons.logging.Log (implementation not found in jdk.internal.loader.ClassLoaders$AppClassLoader@629f0666)
- Cannot invoke "clojure.lang.Var.isBound()" because "clojure.lang.Compiler.LOADER" is null HOT 1
- Can't find a way to use Value.as with generic types HOT 1
- No such file or directory: graal/sdk/mxbuild/linux-amd64/polybench.image/polybench HOT 1
- [GR-53595] Segmentation fault in jvmci JIT method call HOT 3
- [GR-53596] Dump a native memory tracking (NMT) report on signal HOT 4
- Unable to find language by ID despite registration, adding classpath, and jar HOT 5
- [GR-53767] 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. HOT 4
- [Truffle][NFI] Related DLL Could not be loaded with Specified Module could not be found HOT 3
- BouncyCastle SP800SecureRandom initialization at build-time HOT 1
- Can't create isolate on Macos Sonoma 14.3.1 HOT 13
- no error message while having Exception. HOT 3
- GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy. HOT 5
- NoClassDefFoundError: com.oracle.svm.core.c.function.CEntryPointNativeFunctions HOT 2
- Native build failed after upgrade graalVM jdk 22 on linux but success on macOS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graal.