RFR: 8318834: s390x: Debug builds are missing debug helpers

Aleksey Shipilev shade at openjdk.org
Wed Oct 25 18:33:28 UTC 2023


On Wed, 25 Oct 2023 17:26:13 GMT, Andrew Haley <aph at openjdk.org> wrote:

> On s390x only, HotSpot is built by GCC with -ffunction-sections.
> This means that debug helpers such as ps() and pfl() are not available. These helpers are extremely useful in debugging, so it makes no sense to omit them from debug builds.

The block in question also works when link-time gc is enabled, which is only so on s390x by default:
 https://github.com/openjdk/jdk/blob/d96f38b80c1606b54b9f3dbfe9717ab9653a0605/make/autoconf/jdk-options.m4#L105-L110

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

PR Comment: https://git.openjdk.org/jdk/pull/16365#issuecomment-1779831230


More information about the build-dev mailing list