Git Product home page Git Product logo

Comments (6)

davinkevin avatar davinkevin commented on June 8, 2024 1

Thank you for the extra details. 👍

from graal.

ZynoZin avatar ZynoZin commented on June 8, 2024

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.

davinkevin avatar davinkevin commented on June 8, 2024

@ZynoZin , I know, but should this be included in the docker image provided by the project?

from graal.

ZynoZin avatar ZynoZin commented on June 8, 2024

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.

davinkevin avatar davinkevin commented on June 8, 2024

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.

ZynoZin avatar ZynoZin commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.