[zero] zero VM fails to build on arm64 and ppc64el (original) (raw)

Aleksey Shipilev ashipile at redhat.com
Tue Dec 4 13:33:23 UTC 2018


On 12/4/18 2:21 PM, Matthias Klose wrote:

jdk-12+22 zero fails to build at least on arm64 and ppc64el (it succeeds on i386, and64, armhf, s390x). Both builds fail with

/usr/bin/ld: /<>/build-zero/hotspot/variant-zero/libjvm/objs/stackzero.o: in function ZeroStack::handleoverflow(Thread*)':_ _./make/hotspot/./src/hotspot/cpu/zero/stackzero.cpp:75: undefined reference to_ _JavaThread::threadstate() const' collect2: error: ld returned 1 exit status make[4]: *** [lib/CompileJvm.gmk:179: /<>/build-zero/support/moduleslibs/java.base/server/libjvm.so] Error 1 make[4]: *** Waiting for unfinished jobs.... /usr/bin/ld: /<>/build-zero/hotspot/variant-zero/libjvm/objs/stackzero.o: in function ZeroStack::handleoverflow(Thread*)':_ _./make/hotspot/./src/hotspot/cpu/zero/stackzero.cpp:75: undefined reference to_ _JavaThread::threadstate() const' collect2: error: ld returned 1 exit status make[4]: *** [lib/CompileGtest.gmk:60: /<>/build-zero/hotspot/variant-zero/libjvm/gtest/libjvm.so] Error 1 make[4]: Leaving directory '/<>/make/hotspot' make[3]: *** [make/Main.gmk:257: hotspot-zero-libs] Error 2

Okay, this deserves a fix.

But why build aarch64-zero and ppc64el-zero to begin with? Those platforms are fully supported by Red Hat's AArch64 port and SAP's PPC64 port, and are cleanly buildable: https://builds.shipilev.net/openjdk-jdk/

This must be why it went unnoticed: Zero is usually built for platforms without full-fledged ports.

-Aleksey



More information about the jdk-dev mailing list