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

Objcopy warning when building native executable on Windows #21600

Closed
geertschuring opened this issue Nov 22, 2021 · 1 comment
Closed

Objcopy warning when building native executable on Windows #21600

geertschuring opened this issue Nov 22, 2021 · 1 comment
Labels
env/windows Impacts Windows machines kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant

Comments

@geertschuring
Copy link
Contributor

Describe the bug

When building a native-image on Windows 10 I get the following warning towards the end of the successful build:

[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] objcopy executable not found in PATH. Debug symbols will therefore not be separated from the executable.
[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] That also means that resulting native executable is larger as it embeds the debug symbols.
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 97534ms

I cannot find any documentation on how to install the missing executable.

Expected behavior

I would expect the Quarkus documentation to tell me how to install the objcopy executable on Windows.

Actual behavior

Quarkus gives me a warning message, but no help on how to solve it.

How to Reproduce?

Run mvnw clean package -Pnative in a project generated by https://code.quarkus.redhat.com/

Output of uname -a or ver

Windows 10

Output of java -version

openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)

GraalVM version (if different from Java)

openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05) OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05, mixed mode, sharing)

Quarkus version or git rev

RedHat Quarkus 2.2

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.1

Additional information

No response

@geertschuring geertschuring added the kind/bug Something isn't working label Nov 22, 2021
@quarkus-bot quarkus-bot bot added env/windows Impacts Windows machines triage/needs-triage labels Nov 22, 2021
@geoand
Copy link
Contributor

geoand commented Nov 22, 2021

This was fixed in #20297

@geoand geoand closed this as completed Nov 22, 2021
@geoand geoand added the triage/out-of-date This issue/PR is no longer valid or relevant label Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env/windows Impacts Windows machines kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant
Projects
None yet
Development

No branches or pull requests

2 participants