Source: openjdk-23
Version: 23.0.2+7-1
Severity: serious
Justification: fails to build from source
Tags: ftbfs

Dear Maintainer,

We are observing consistent and repeatable failures when building
openjdk for i386 arch on systems with large amounts of memory.

Example failure:

=== Output from failing command(s) repeated here ===
* For target buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:
OpenJDK Zero VM warning: Unsupported locking mode for this CPU.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.EnumMap.values(EnumMap.java:423)
at jdk.compiler/com.sun.tools.javac.util.Log.flush(Log.java:478)
at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.close(JavaCompiler.java:1881)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:365)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:66)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)

* All command lines available in
/build/reproducible-path/openjdk-23-23.0.1+11/build-zero/make-support/failure-logs.
=== End of repeated output ===

This is repeatable on build instances with 192gb of memory (and above)
and non-repeatable on devices with less than 100gb of memory. We
haven't determined the exact threshold beyond which the heap space
errors start occurring.

This is not repeatable when building amd64 arch, it is specific to i386 builds.

Finally, this affects multiple major versions of openjdk, at least
from 21 and above.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

  • Bug#1100335: openjdk-23: Building openjdk on high memory s... Matt LaPlante

Reply via email to