RFR: 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup

Matthias Baesken mbaesken at openjdk.org
Fri Jan 24 09:15:29 UTC 2025


When building on Linux ppc64le with the clang toolchain, the new JVM fails already in the build process with an error/crash :


# SIGILL (0x4) at pc=0x000079198fae03ac, pid=2922849, tid=2923410
#
# Problematic frame:
# v ~BufferBlob::detect_cpu_features 0x000079198fae03ac


It was noticed the clang build on Linux ppc64le missed some important compile flags, especially  -DABI_ELFv2 (compared to gcc build).

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

Commit messages:
 - JDK-8338303

Changes: https://git.openjdk.org/jdk/pull/23292/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23292&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338303
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23292.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23292/head:pull/23292

PR: https://git.openjdk.org/jdk/pull/23292


More information about the build-dev mailing list