[zero] zero VM fails to build on arm64 and ppc64el

Matthias Klose doko at ubuntu.com
Tue Dec 4 13:21:52 UTC 2018


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:
/<<PKGBUILDDIR>>/build-zero/hotspot/variant-zero/libjvm/objs/stack_zero.o: in
function `ZeroStack::handle_overflow(Thread*)':
./make/hotspot/./src/hotspot/cpu/zero/stack_zero.cpp:75: undefined reference to
`JavaThread::thread_state() const'
collect2: error: ld returned 1 exit status
make[4]: *** [lib/CompileJvm.gmk:179:
/<<PKGBUILDDIR>>/build-zero/support/modules_libs/java.base/server/libjvm.so] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/bin/ld:
/<<PKGBUILDDIR>>/build-zero/hotspot/variant-zero/libjvm/objs/stack_zero.o: in
function `ZeroStack::handle_overflow(Thread*)':
./make/hotspot/./src/hotspot/cpu/zero/stack_zero.cpp:75: undefined reference to
`JavaThread::thread_state() const'
collect2: error: ld returned 1 exit status
make[4]: *** [lib/CompileGtest.gmk:60:
/<<PKGBUILDDIR>>/build-zero/hotspot/variant-zero/libjvm/gtest/libjvm.so] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/make/hotspot'
make[3]: *** [make/Main.gmk:257: hotspot-zero-libs] Error 2

Didn't check other zero-only architectures yet.

Matthias


More information about the jdk-dev mailing list