Cross compile jdk8u on PPC32

Radu Andritoiu raduandritoiu at gmail.com
Wed Oct 18 07:18:31 UTC 2017


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


More information about the jdk8u-dev mailing list