Cross compile jdk8u on PPC32
raduandritoiu at gmail.com
Wed Oct 18 12:20:54 UTC 2017
I am trying to compile jdk8u using jvm-variant "zero" and it asks for
I read that it uses 'libffi' for JNA to bridge between the interpreter and
native code. It does not use JNI.
My question is if the final VM will have support for JNI, because I will
need to run a java project that is already coded and uses JNI generated by
Also thank you for the help and info about Azul.
On Wed, Oct 18, 2017 at 2:40 PM, Volker Simonis <volker.simonis at gmail.com>
> 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.
> Radu Andritoiu <raduandritoiu at gmail.com> schrieb am Mi. 18. Okt. 2017 um
>> 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:
>> error: c1_globals_ppc.hpp: No such file or directory
>> error: #error "Atomic currently only implemented for PPC64"
>> error: #error "OrderAccess currently only implemented for PPC64"
>> error: #error "copy currently only implemented for PPC64"
>> 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