-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: openjdk8u322, 17, 18, 19
-
Component/s: hotspot
-
linux_alpine
OpenJDK 8, and 17+ fail to compile on Alpine-linux using gcc 11.2.1.
jdk17+:
hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:219:62: error: invalid cast from type 'std::nullptr_t' to type 'oopDesc**'
jdk8:
hotspot/src/share/vm/adlc/dict2.cpp:286:17: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register]
286 | register char c, k = 0;
jdk17+:
hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp:219:62: error: invalid cast from type 'std::nullptr_t' to type 'oopDesc**'
jdk8:
hotspot/src/share/vm/adlc/dict2.cpp:286:17: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=register]
286 | register char c, k = 0;
- duplicates
-
JDK-8291633 Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr
-
- Resolved
-