Error while building JVMCI enabled JDK8 on Power

Doug Simon doug.simon at
Wed Mar 8 08:46:05 UTC 2017

> On 8 Mar 2017, at 07:29, Deepali Patel <deepali_patel at> wrote:
> Hello,
> I continued working on building JVMCI on PPC for Compiler2 only.
> Although I am now not getting error while building JVMCI JDK8, but the build is still not usable.
> While trying to use this JVMCI to compile graal-core I get the following error:
> -----------------
> $:~/Graal/graal-core$ mx
> //clones truffle under ~/Graal/truffle
> //prints below error
> The VM does not support the minimum JVMCI API version required by Graal.
> Cannot read JVMCI version from java.vm.version property: 25.121-b13.
> Set the JVMCI_VERSION_CHECK environment variable to "ignore" to suppress this error or to "warn" to emit a warning and continue execution.
> Currently used Java home directory is /usr/lib/jvm/java-8-openjdk-ppc64el/jre.
> Currently used VM configuration is: OpenJDK 64-Bit Server VM
> Download the latest JVMCI JDK 8 from
> -----------------
> The investigation reveals that JVMCI is still not correctly built. I get the following errors for java -version:
> $:~/Graal/graal-jvmci-8/jdk1.8.0_121/product$ bin/java -version
> Error: dl failure on line 893
> Error: failed ~/Graal/graal-jvmci-8/jdk1.8.0_121/product/jre/lib/ppc64le/server/, because ~/Graal/graal-jvmci-8/jdk1.8.0_121/product/jre/lib/ppc64le/server/ undefined symbol: _ZN13SharedRuntime15gen_i2c_adapterEP14MacroAssembleriiPK9BasicTypePK9VMRegPair
> The undefined method is - CodeInstaller::pd_relocate_poll(unsigned char*, int, Thread*)
> $:~/Graal/graal-jvmci-8/jdk1.8.0_121/product/jre/bin$ c++filt -n _ZN13CodeInstaller16pd_relocate_pollEPhiP6Thread
>             CodeInstaller::pd_relocate_poll(unsigned char*, int, Thread*)
> Looks like this is due to the missing jvmciCodeInstaller_ppc.cpp. Any pointers on implementing this file would be of great help.

Look at src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp and src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp. Without a more specific question, it's hard to help.


More information about the graal-dev mailing list