My Windows 32bit build fails because the VM crashes with
ERROR: Failed to generate link optimization data. This is likely a problem with the newly built JVM/JDK.
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=\memory/archiveUtils.inline.hpp:51
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (c:\mine\projects\openjdk\jdk-jdk\source\src\hotspot\share\memory/archiveUtils.inline.hpp:51), pid=9836, tid=9140
# assert(old_ptr != 0) failed: bits for NULL pointers should have been cleaned at dump time
#
# JRE version: (15.0) (fastdebug build )
# Java VM: OpenJDK Server VM (fastdebug 15-internal+0-adhoc.thomas.source, mixed mode, emulated-client, sharing, g1 gc, windows-x86)
# Core dump will be written. Default location: C:\mine\projects\openjdk\jdk-jdk\source\make\hs_err_pid9836.mdmp
#
# An error report file with more information is saved as:
# C:\mine\projects\openjdk\jdk-jdk\source\make\hs_err_pid9836.log
#
#
Build parameters are unexciting:
--with-target-bits=32 --with-debug-level=fastdebug
This is not reproducible on Linux 32bit.
A simple way to reproduce it on Windows is to build 32bit and then to start the JVM from the interim-build folder, without arguments, crashes right away.