Skip to content
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

Common: GraalVM 22.3 Windows native-image breaks when compressed with UPX #148

Open
MikeTheSnowman opened this issue Nov 8, 2022 · 3 comments
Assignees
Labels
3rd party bug Bugs that exist in software from 3rd parties effort:? fcli-core Generic fcli issues that affect multiple modules prio:low Low priority; nice to have but minimal impact

Comments

@MikeTheSnowman
Copy link
Collaborator

After some testing, if GraalVM 22.3 is used to create a Windows native image that is then compressed with UPX, the windows binary will break and not work. You will simply get a binary that outputs nothing. This is a known issue by both UPX and GraalVM communities with GraalVM 22.x and newer.
Please see:

@MikeTheSnowman MikeTheSnowman added the 3rd party bug Bugs that exist in software from 3rd parties label Nov 8, 2022
@rsenden rsenden changed the title GraalVM 22.3 Windows native-image breaks when compressed with UPX Common: GraalVM 22.3 Windows native-image breaks when compressed with UPX Nov 15, 2022
@rsenden
Copy link
Contributor

rsenden commented Nov 23, 2022

This is not an issue at this moment, as we're still using an older GraalVM version, but something to keep in mind if we want to upgrade GraalVM.

@rsenden rsenden added the fcli-core Generic fcli issues that affect multiple modules label May 14, 2023
@rsenden
Copy link
Contributor

rsenden commented Jul 25, 2023

@wtfacoconut Can you please research whether this is still an issue with the GraalVM version that we're currently using (graalvm-community-jdk-17.0.7)?

@rsenden
Copy link
Contributor

rsenden commented May 30, 2024

Somewhat similar issue applies to Mac binary as well for now, where UPX-compressed binaries will not run on latest MacOS version. At the moment, UPX compression is disabled in .github/workflows/ci.yml for both Windows and Mac binaries. For each, we need to check whether this is still an issue, or whether any fixes in GraalVM or UPX allow us to start compressing these binaries again.

@rsenden rsenden added prio:low Low priority; nice to have but minimal impact effort:? labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party bug Bugs that exist in software from 3rd parties effort:? fcli-core Generic fcli issues that affect multiple modules prio:low Low priority; nice to have but minimal impact
Projects
None yet
Development

No branches or pull requests

2 participants