Hi Radu, ppc32 is currently not supported in the main OpenJDK repositories. You can of course use the zero variant, but that's interpreter only, so the performance won't be great. As far as I know, Azul supports ppc32 but I'm not sure where they are hosting their sources. CC'ed Ivan from Azul who may know. Regards, Volker Radu Andritoiu <raduandritoiu@gmail.com> schrieb am Mi. 18. Okt. 2017 um 09:18:
Hello,
I am new to the community and want to thank you in advance.
I am trying to cross compile from the latest revision on branch jdk8u162 a 'client' jvm-variant for PPC32 bit. Here are some of the errors I am getting:
/home/build/build_java/jdk8u_5/hotspot/src/share/vm/runtime/globals.hpp:114:31: error: c1_globals_ppc.hpp: No such file or directory ...
/home/build/build_java/jdk8u_5/hotspot/src/os_cpu/linux_ppc/vm/atomic_linux_ppc.inline.hpp:34:2: error: #error "Atomic currently only implemented for PPC64" ...
/home/build/build_java/jdk8u_5/hotspot/src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp:33:2: error: #error "OrderAccess currently only implemented for PPC64" ... /home/build/build_java/jdk8u_5/hotspot/src/cpu/ppc/vm/copy_ppc.hpp:30:2: error: #error "copy currently only implemented for PPC64" ...
/home/build/build_java/jdk8u_5/hotspot/src/cpu/ppc/vm/jniTypes_ppc.hpp:49:2: error: #error "ppc32 support currently not implemented!!!" ...
My conclusion was that 'client' jvm-variant is not ported for PPC32. But the 'servert' jvm-variant did not work either. My questions are: 1. Is there a way to compile a 'client' jvm-variant for PPC32? am I doing something wrong or is this not supported at this time? Should I use a different revision that jdk8u162? 2. Is there a way to compile a 'server' jvm-variant for PPC32? Is this also not supported at this time? 3. Is there another project/branch besides 'jdk8u' that should work in cross compiling a jvm for PPC32 bit?
Thank you, Radu Andritoiu