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

Failed run bootBuildImage native image on macos apple silicon #38714

Closed
xuyixun opened this issue Dec 8, 2023 · 1 comment
Closed

Failed run bootBuildImage native image on macos apple silicon #38714

xuyixun opened this issue Dec 8, 2023 · 1 comment
Labels
for: external-project For an external project and not something we can fix

Comments

@xuyixun
Copy link

xuyixun commented Dec 8, 2023

I try to use gradle:bootBuildImage build native image on macos apple silicon. Native image build success, but image cant run on same machine with error rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2. Try to set -march=native -march=compatibility fail too

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 8, 2023
@scottfrederick
Copy link
Contributor

scottfrederick commented Dec 8, 2023

The Paketo CNB builder that is used by default by the Spring Boot plugins does not currently support ARM architectures. See this buildpacks issue for more details.

There is an alternative CNB builder that does support ARM.

@scottfrederick scottfrederick closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
@scottfrederick scottfrederick added for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

3 participants