Cross compile jdk8u on PPC32
david.holmes at oracle.com
Tue Oct 24 09:11:35 UTC 2017
On 24/10/2017 7:00 PM, Radu Andritoiu wrote:
> I am still having trouble compiling the 'zero' jvm-variant. I get C/C++
> compiling errors I am trying to fix.
> I looked in 'hotspot/src/cpu' and saw there are source-code folders for
> different cpu architectures: 'ppc', 'sparc', 'x86', 'zero'.
> If I use jvm-variant 'zero' when compiling it will try to use the code from
> I looked in the mercurial commit logs and saw (I guess) commits for PPC
> being done in the folder 'hotspot/src/cpu/ppc'.
> My question are to build for PPC 32 what source-code folder should I use
> 'hotspot/src/cpu/zero' or 'hotspot/src/cpu/ppc'?
You don't "use" a specific folder the build takes care of that for you.
When you build zero it uses src/cpu/zero.
> Do I try to build/compile using jvm-variant 'zero' and force it to use the
> code from 'hotspot/src/cpu/ppc'?
> Is the source-code from 'hotspot/src/cpu/ppc' onlu for PPC 64?
> Thank you very much for the help,
> On Tue, Oct 24, 2017 at 11:46 AM, Andrew Haley <aph at redhat.com> wrote:
>> On 18/10/17 13:20, Radu Andritoiu wrote:
>>> 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
>>> native code. It does not use JNI.
>> That's wrong. Zero supports JNI just fine.
>> Andrew Haley
>> Java Platform Lead Engineer
>> Red Hat UK Ltd. <https://www.redhat.com>
>> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the jdk8u-dev