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

ERROR: Please rebuild the executable with an appropriate setting of the -march option. #281

Closed
GeTOUO opened this issue Jul 26, 2023 · 1 comment
Labels
type:question A user question

Comments

@GeTOUO
Copy link

GeTOUO commented Jul 26, 2023

my project config:

springboot 3.1.1
jdk17

I made the image mvn spring-boot:build-image -pnative with the following command, and then it ran fine locally and failed to boot on a machine in a corporate environment and threw the following exception:

The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.

@dmikusa
Copy link
Contributor

dmikusa commented Jul 26, 2023

Closing as duplicate of paketo-buildpacks/spring-boot#387

@dmikusa dmikusa closed this as completed Jul 26, 2023
@dmikusa dmikusa added the type:question A user question label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question A user question
Projects
None yet
Development

No branches or pull requests

2 participants