Failure to build on "Raspbian GNU/Linux 11 (bullseye)"
configure: Using gcc C compiler version 10.2.1 [gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110]
...
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_interpreterRT_arm.o:
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp: In member function 'virtual void SlowSignatureHandler::pass_object()':
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:309:56: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
309 | _toGP[_last_gp++] = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:311:45: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
311 | *_to++ = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
* All command lines available in /home/martin/ws/jdk/build/linux-arm-server-release/make-support/failure-logs.
=== End of repeated output ===
configure: Using gcc C compiler version 10.2.1 [gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110]
...
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_interpreterRT_arm.o:
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp: In member function 'virtual void SlowSignatureHandler::pass_object()':
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:309:56: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
309 | _toGP[_last_gp++] = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:311:45: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
311 | *_to++ = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
* All command lines available in /home/martin/ws/jdk/build/linux-arm-server-release/make-support/failure-logs.
=== End of repeated output ===
- relates to
-
JDK-8301494 Replace NULL with nullptr in cpu/arm
-
- Resolved
-