Compile JRE for PPC 32 bit

Volker Simonis volker.simonis at gmail.com
Thu Jan 25 16:11:21 UTC 2018


On Thu, Jan 25, 2018 at 4:34 PM, Rob McKenna <rob.mckenna at oracle.com> wrote:
> Hi Radu,
>

Hi Radu,

OpenJDK currently doesn't support ppc32 out of the box except maybe
with "zero". But "zero" has its own problems as you noticed yourself
(interpreter only so probably not really ready for production
scenarios) and it is often broken because it is not an Oracle
supported platform.

I've added Adrian on CC who may know if and if yes how jdk8u162 should
compile for zero.

Azul is known to have a 32bit ppc port, but they havn't contributed it
to the OpenJDK yet. CCed Ivan from Azul who might know more?

The final question is really which version of OpenJDK/Java have you
used until now on ppc32? That's probably the one you want to patch and
build.

Regards,
Volker

> This topic is more suited to the PowerPC port alias:
>
> ppc-aix-port-dev at openjdk.java.net
>
> Bcc'ing jdk8u-dev.
>
>     -Rob
>
> On 25/01/18 17:16, Radu Andritoiu wrote:
>> Hello,
>>
>> I need to compile a working (java compatible) JRE for Power PC 32 bit.
>> I need the JRE to have the fix for RMI vulnerability (
>> https://access.redhat.com/security/cve/cve-2017-3241).
>> So I thought to try compiling jdk8u162-b01 revision.
>>
>> I am building on a x86 Ubuntu and using a cross-compiler.
>> Do you recommend trying to do a compiling it directly on the PPC 32 machine?
>>
>> What jvm-variant should I compile?
>> I understood that the "zero" variant is the only one that can be
>> cross-compiled to run on PPC32, but it is an interpreter only and needs
>> this patch (
>> http://bazaar.launchpad.net/~openjdk/openjdk/openjdk8/view/head:/debian/patches/hotspot-powerpcspe.diff)
>> that makes is not java compatible.
>>
>> What target should I compile?
>> I managed to cross-compile only "hotspot" but this only gives me the JVM. I
>> think in order to get the rest of the JRE I need to cross-compile "jdk"
>> target, and this one gives me a lot of errors.
>>
>> Do you think I should give up on cross-compiling jdk8u162 and try compiling
>> an older version and manually port the RMI fix?
>> What jdk version/revision can be compiled for PPC32 with at least the
>> "client" target, not only for "zero"?
>>
>> Please, can you help me.
>>
>>
>> Thank you very much in advance,
>> Radu


More information about the ppc-aix-port-dev mailing list