On Mon, 13 Oct 2025 11:37:29 GMT, Joachim Kern <[email protected]> wrote:

> When building 'make all' on AIX / slowdebug the build fails :
> 
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> ld: 0711-781 ERROR: TOC overflow. TOC size: 646240 Maximum size: 65536
> .ibm-clang: error: linker command failed with exit code 12 (use -v to see 
> invocation)
> gmake[3]: *** [StaticLibs.gmk:125: 
> /build_slowdebug/support/static-native/launcher/java] Error 12
> gmake[2]: *** [make/Main.gmk:464: static-launcher] Error 2
> This is because after introducing the static-launcher for AIX with 
> [JDK-8352064](https://bugs.openjdk.org/browse/JDK-8352064) the slowdebug 
> build was not tested. The fastdebug or release build optimizes the not needed 
> stuff away, while the real debug build keeps it running out of TOC space.

Marked as reviewed by mbaesken (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27767#pullrequestreview-3331278567

Reply via email to