Hi, I observed the same issue on Ubuntu 16.04 but not on RHEL 7.2.
RHEL 7.2: https://paste.fedoraproject.org/409005/raw/ Ubuntu 16.04: https://paste.fedoraproject.org/409004/raw/ I checked on PPC64 LE arch (Ubuntu 16.04 and RHEL 7.2, logs above). It fails also on Ubuntu 16.04 x64 (but I could not check if it succeeds on RHEL 7.2 x64). On Ubuntu 16.04 PPC64 LE replacing -lpthread by -pthread in ./hotspot/make/test/JtregNative.gmk:82 solves the issue on pthread_* symbols and placing -ljvm (for instance) in front of ".../exeinvoke.o" solves the issue on JNI_CreateJavaVM reference, however I'm really not sure what's the root cause. Maurizio, what distro/arch are you using? Regards, Gustavo