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

Peter Tribble duke at openjdk.org
Tue Jan 13 14:05:01 UTC 2026


On Tue, 13 Jan 2026 11:50:45 GMT, Antonio Vieiro <avieiro at openjdk.org> wrote:

>> 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 pull request now contains one commit:
> 
>   Backport a2d9ba3fd6712b2406d035de7614e8da86bac237

We build on illumos, but use gcc so won't be affected, effectively we already have this change. And even on Solaris there's been a real vsnprintf for decades, and I think anyone building now is going to be on Solaris 10 or 11 which should be fine.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/736#issuecomment-3744483679


More information about the jdk8u-dev mailing list