RFR: 8288082: Build failure due to __clang_major__ is not defined after JDK-8214976
Jie Fu
jiefu at openjdk.java.net
Thu Jun 9 07:38:32 UTC 2022
On Thu, 9 Jun 2022 06:30:15 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Sorry about this. I didn't realize we were building with `Wundef`. I didn't have any failures in my testing because I was using gcc9+, so the offending expression doesn't get processed. I think this only fails with gcc versions before 9.
I tested with gcc9 on Ubuntu 20.04.
Unfortunately, it fails to build.
ERROR: Build failed for target 'run-test' in configuration 'linux-x86_64-server-release' (exit code 2)
Stopping sjavac server
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_os_posix.o:
In file included from /home/jdk/src/hotspot/share/utilities/compilerWarnings.hpp:32,
from /home/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:28,
from /home/jdk/src/hotspot/share/memory/allocation.hpp:29,
from /home/jdk/src/hotspot/share/memory/arena.hpp:28,
from /home/jdk/src/hotspot/share/runtime/handles.hpp:28,
from /home/jdk/src/hotspot/share/classfile/classLoader.hpp:29,
from /home/jdk/src/hotspot/os/posix/os_posix.cpp:28:
-------------
PR: https://git.openjdk.java.net/jdk/pull/9096
More information about the hotspot-dev
mailing list