How to produce:
./configure --with-jvm-variants=zero
Here lists a snippet of the error msg:
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-zero_libjvm_objs_aotCodeCache.o:
/tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp: In member function ‘void AOTCodeAddressTable::init_extrs()’:
/tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:1246:35: error: ‘aarch64_get_thread_helper’ is not a member of ‘JavaThread’
1246 | SET_ADDRESS(_extrs, JavaThread::aarch64_get_thread_helper);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:1224:47: note: in definition of macro ‘SET_ADDRESS’
1224 | type##_addr[type##_length++] = (address) (addr); \
| ^~~~
* All command lines available in /tmp/build-release/make-support/failure-logs.
=== End of repeated output ===