I attempted to build OpenJDK on Fedora 34 with gcc-11.1.1-3.fc34.x86_64, but I saw following errors:
In file included from /home/ysuenaga/github-forked/jdk/src/hotspot/share/runtime/frame.inline.hpp:42, from /home/ysuenaga/github-forked/jdk/src/hotspot/cpu/x86/abstractInterpreter_x86.cpp:29: ------------- Commit messages: - 8270083: -Wnonnull errors happen with GCC 11.1.1 Changes: https://git.openjdk.java.net/jdk/pull/4719/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4719&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8270083 Stats: 42 lines in 9 files changed: 38 ins; 0 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/4719.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4719/head:pull/4719 PR: https://git.openjdk.java.net/jdk/pull/4719