[jdk8u-dev] RFR: 8056039: Hotspot does not compile with clang 3.4 on Linux [v2]

Antonio Vieiro avieiro at openjdk.org
Tue Jan 13 11:50:45 UTC 2026


> Almost clean backport of [JDK-8056039](https://bugs.openjdk.org/browse/JDK-8056039) that removes `local_vsnprintf` from the codebase, making it easier to build with `clang`.
> 
> This will make it easier to backport [JDK-8369226](https://bugs.openjdk.org/browse/JDK-8369226) to restore MacOS/GHA builds, which are now failing.
> 
> Backport is not clean because the changes in `vm/utilities/globalDefinitions_gcc.hpp` are already in place since [this commit](https://github.com/openjdk/jdk8u-dev/commit/6ca492afe7c59b014c6ce0628eb88d7da34020b5#diff-5fb49411838cbaba246fe37dea9532cebb18f81ba3e40d2db8749f6a9ac099e9R274) for JFR.
> 
> Passes tier1 tests on Linux but for usual suspeccts.
> 
> Windows and MacOS GHA builds fail, but are unrelated.

Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains one additional commit since the last revision:

  Backport a2d9ba3fd6712b2406d035de7614e8da86bac237

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/736/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/736/files/2df9bc86..51e6ac5e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=736&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=736&range=00-01

  Stats: 6476 lines in 56 files changed: 2621 ins; 2637 del; 1218 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/736.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/736/head:pull/736

PR: https://git.openjdk.org/jdk8u-dev/pull/736


More information about the jdk8u-dev mailing list