On Tue, 28 Apr 2026 14:42:56 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).

Btw. do you know what's up with NATIVE_DEBUG_SYMBOLS_LEVEL , this flag seems to 
be abandoned or do I miss something ?


grep -nH -r  NATIVE_DEBUG_SYMBOLS_LEVEL *
autoconf/flags-cflags.m4:110:    CFLAGS_DEBUG_SYMBOLS="-gdwarf-4 
-g${NATIVE_DEBUG_SYMBOLS_LEVEL}"
autoconf/flags-cflags.m4:111:    
ASFLAGS_DEBUG_SYMBOLS="-g${NATIVE_DEBUG_SYMBOLS_LEVEL}"
autoconf/flags-cflags.m4:131:    CFLAGS_DEBUG_SYMBOLS="${GDWARF_FLAGS} 
-g${NATIVE_DEBUG_SYMBOLS_LEVEL}"
autoconf/flags-cflags.m4:132:    
ASFLAGS_DEBUG_SYMBOLS="-g${NATIVE_DEBUG_SYMBOLS_LEVEL}"


Should this be cleaned up (if abandoned) or 'repaired'   (guess in a separate 
PR)  ?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30971#issuecomment-4343858134

Reply via email to