On 16/08/16 14:19, David Simms wrote:
Another work-around is to use a "sanctioned dev kit"
("--with-devkit=") and avoid problems with "new fangled distros and
tools", see:
https://wiki.se.oracle.com/display/JPG/Devkit+build+instructions+for+JDK+9
This doesn't work - at least for me - it gets a bit further, but then
still fails:
Directory
"/w/lt/9/dev/build/linux-x86_64-normal-server-release/testoutput/jdk_lang/JTwork"
not found: creating
Directory
"/w/lt/9/dev/build/linux-x86_64-normal-server-release/testoutput/jdk_lang/JTreport"
not found: creating
Error: Cannot find observer class:
jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver
My jtreg is this:
$jtreg -version
jtreg, version 4.2 fcs b03
Built with Java(TM) 2 SDK, Version 1.7.0-b147 on July 29, 2016.
Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
JCov 2.0-b18 beta
TestNG: version 6.9.5
Maurizio
On 16/08/16 11:39, Maurizio Cimadamore wrote:
Using Ubuntu 14.04 on x64.
Maurizio
On 15/08/16 23:41, Gustavo Romero wrote:
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