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

Strip debug information from the native executable unconditionally #26681

Merged
merged 1 commit into from Jul 13, 2022

Commits on Jul 12, 2022

  1. Strip debug information from the native executable unconditionally

    PR quarkusio#13963 mistakenly stopped stripping debug information from the native
    executable when debug info generation is enabled resulting in both the
    native executable and the corresponding `.debug` file containing the
    debug information. Which also results in the native executable being
    larger when `-Dquarkus.native.debug.enabled` is used:
    
    ```
    $ du -hs quarkus-integration-test-main-999-SNAPSHOT-runner-nodebug
    108M	quarkus-integration-test-main-999-SNAPSHOT-runner-nodebug
    
    $ du -hs quarkus-integration-test-main-999-SNAPSHOT-runner-debug
    182M	quarkus-integration-test-main-999-SNAPSHOT-runner-debug
    
    $ du -hs quarkus-integration-test-main-999-SNAPSHOT-runner-debug.debug
    75M	quarkus-integration-test-main-999-SNAPSHOT-runner-debug.debug
    ```
    
    Inspecting `quarkus-integration-test-main-999-SNAPSHOT-runner-debug` and
    `quarkus-integration-test-main-999-SNAPSHOT-runner-debug` with
    `readelf --debug-dump=info` we observe that both files are containing
    debug information while only the latter should contain them.
    zakkak committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    f69d98d View commit details
    Browse the repository at this point in the history