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

Andrew John Hughes andrew at openjdk.org
Tue Jan 13 13:39:11 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

Backport looks clean other than the fragment in `globalDefinitions_gcc.hpp` already removed.

Do we know if anyone builds on Solaris still? This seems like the only platform that would really be affected by this change. It is the only platform where `local_vsnprintf` is not just a redirect and likely the only platform to build with sparcWorks which has `#define vsnprintf local_vsnprintf`. On AIX, `local_vsnprintf` is not even been defined.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk8u-dev/pull/736#pullrequestreview-3655831203


More information about the jdk8u-dev mailing list