Compile JRE for PPC 32 bit
Rob McKenna
rob.mckenna at oracle.com
Thu Jan 25 15:34:49 UTC 2018
Hi Radu,
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