This was 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 loose 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.
- relates to
-
JDK-8318834 s390x: Debug builds are missing debug helpers
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/b7346c30
-
Review(master)
openjdk/jdk/29232