Integrated: 8375311: Some builds are missing debug helpers
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 16 08:08:17 UTC 2026
On Wed, 14 Jan 2026 15:32:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> [JDK-8318834](https://bugs.openjdk.org/browse/JDK-8318834) pointed out that on linux s390x, debug builds were missing debug helpers .
> This happened because we enabled some time ago linktime gc (-Wl,--gc-sections in the linker flags, plus -ffunction-sections -fdata-sections in compile flags) for linux x390x by default.
> But potentially ltgc or similar size-optimizing options could be enabled on other platforms too, and not only debug builds could lose the debug helpers (however in non-debug builds they might be not that important).
>
> On Windows we already export the debug helper symbols, so it might be good to do this on other platforms, especially Linux, too.
This pull request has now been integrated.
Changeset: b7346c30
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b7346c307fc1aba01c10fc6dc745e5e520b1d7b9
Stats: 6 lines in 1 file changed: 2 ins; 1 del; 3 mod
8375311: Some builds are missing debug helpers
Reviewed-by: mdoerr, aph
-------------
PR: https://git.openjdk.org/jdk/pull/29232
More information about the hotspot-dev
mailing list