On Thu, 30 Apr 2026 14:41:30 GMT, Matthias Baesken <[email protected]> wrote:
>> Currently we use objcopy to generate debuginfo files. >> It would be sometimes helpful to generate debuginfo files with compressed >> content (e.g. objcopy --compress-debug-sections=zlib-gnu). >> >> This could be supported by an additional configure flag. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Matthias Baesken has updated the pull request incrementally with one > additional commit since the last revision: > > Adjust COPYRIGHT year make/autoconf/jdk-options.m4 line 329: > 327: UTIL_ARG_ENABLE(NAME: objcopy-debuginfo-compression, DEFAULT: false, > 328: RESULT: ENABLE_OBJCOPY_DEBUGINFO_COMPRESSION, > 329: DESC: [Set to enable compression in the debuginfo files], Maybe specify that this is only supported on Linux. make/autoconf/jdk-options.m4 line 331: > 329: DESC: [Set to enable compression in the debuginfo files], > 330: CHECKING_MSG: [if debuginfo compression with objcopy is done]) > 331: AC_SUBST(ENABLE_OBJCOPY_DEBUGINFO_COMPRESSION) I would expect the outcome of this to be a variable with the flags as value. See other uses of `UTIL_ARG_ENABLE` and how they use `IF_ENABLED` block to set variables. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30971#discussion_r3169621263 PR Review Comment: https://git.openjdk.org/jdk/pull/30971#discussion_r3169645942
