RFR: 8288082: Build failure due to __clang_major__ is not defined after JDK-8214976
Kim Barrett
kbarrett at openjdk.java.net
Thu Jun 9 06:33:25 UTC 2022
On Wed, 8 Jun 2022 23:36:59 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> Build failure was observed when build on a machine without clang.
> Please review this trivial patch which fixes the build failure due to `__clang_major__` is not defined.
>
> Thanks.
> Best regards,
> Jie
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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/9096
More information about the hotspot-dev
mailing list