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).

With
`--with-additional-objcopy-flags=--compress-debug-sections=zlib-gnu`
we bring down on linux x86_64 the debuginfo files at images/symbols  from 889M 
to 333M  (product build).

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

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

Reply via email to