Compile JRE for PPC 32 bit

Volker Simonis volker.simonis at gmail.com
Thu Jan 25 17:03:39 UTC 2018


On Thu, Jan 25, 2018 at 5:34 PM, Radu Andritoiu <raduandritoiu at gmail.com> wrote:
> Hello,
>
> This is the output from "./java -version"
> java version "1.7.0_21"
> Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11, headless)
> Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)
>
> This version of JRE we got directly from Oracle.
> I haven't tried to compile any openJDK until now.
>

Well, that's a commercially licensed version so you should contact
your license engineer :)

OpenJDK never had native 32.bit ppc support. The best you can do is to
build the zero port as described by Adrian.

Regards,
Volker

> So I should get jdk8u151-b12. But this one still compiles only with "zero"
> jvm-variant right?
> There is no version (even jdk7) that compiles with "client" variant for
> PPC32, right?
>
>
> Thank you,
> Radu
>
>
>
>
> On Thu, Jan 25, 2018 at 6:22 PM, John Paul Adrian Glaubitz
> <glaubitz at physik.fu-berlin.de> wrote:
>>
>> Hi!
>>
>> On 01/25/2018 05:11 PM, Volker Simonis wrote:
>>>
>>> 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.
>>
>>
>> It's basically supported by me now :-).
>>
>>> I've added Adrian on CC who may know if and if yes how jdk8u162 should
>>> compile for zero.
>>
>>
>> OpenJDK-8 definitely builds on PowerPC32. I'm not exactly about the
>> additional patches at the moment though. The Debian package currently
>> carries these patches:
>>
>>> https://sources.debian.org/src/openjdk-8/8u151-b12-1/debian/patches/
>>
>>
>> However, Debian has u151. Depending on what got backported in the
>> meantime, you might need this patch:
>>
>>> http://hg.openjdk.java.net/jdk/hs/rev/137ae24f3b52
>>
>>
>> It might also depend on the gcc version whether this patch is needed.
>>
>> Either way, a build log will be very helpful for debugging this.
>>
>> Thanks,
>> Adrian
>>
>> --
>>  .''`.  John Paul Adrian Glaubitz
>> : :' :  Debian Developer - glaubitz at debian.org
>> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>
>


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