I copied HS sources from:
/net/koori.us.oracle.com/onestop/jdk/8/promoted/all/b10//ws/hotspot
But I was not able to successfully build them on my T2 ' machine which has latest Solaris 11 snv_175.
I got syntax error for src/share/vm/ci/ciMethodHandle.cpp file:
"ciMethodHandle.cpp", line 96: Error: Use "." or "->" to call AllocatedObj::print() const.
How to reproduce
================
cp -r /net/gozo-1.us.oracle.com/export/results/isv_bugs/hotspot_jdk8_cmp_fail <your_area_on_sparc>
cd <your_area_on_sparc>/hotspot_jdk8_cmp_fail
bld_it.sh
The failure looks like this:
+ /net/kits.us.oracle.com/compilers/releases/sunstudio12.1/sparc-S2.inst/sunstudio12.1/bin/CC -c -library=%none -KPIC -mt -xdebugformat=stabs -xwe -features=no%except -template=no%extdef -features=no%split_init -xmemalign=4s -m32 -xarch=sparc -DSOLARIS -DSPARC_WORKS -DSPARC -DTARGET_OS_FAMILY_solaris -DTARGET_ARCH_sparc -DTARGET_ARCH_MODEL_sparc -DTARGET_OS_ARCH_solaris_sparc -DTARGET_OS_ARCH_MODEL_solaris_sparc -DTARGET_COMPILER_sparcWorks -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -D_Crun_inline_placement -DHAVE_DTRACE_H -DDTRACE_ENABLED -DHOTSPOT_RELEASE_VERSION=23.0-b02-internal -DHOTSPOT_BUILD_TARGET=optimized -DHOTSPOT_BUILD_USER=sprs -DHOTSPOT_LIB_ARCH=sparc -DJRE_RELEASE_VERSION=1.8.0 -Iincls ciMethodHandle.cpp
"ciMethodHandle.cpp", line 96: Error: Use "." or "->" to call AllocatedObj::print() const.
1 Error(s) detected.
|