Cross compile jdk8u on PPC32

Bob Vandette bob.vandette at oracle.com
Tue Oct 24 12:34:14 UTC 2017


As others have mentioned, you need to target ZERO and not PPC32 when trying to build
a non supported cpu architecture with the Zero interpreter.

You do need to have a libffi.so binary available for the build.  Zero uses this to manage the
native stack frames.

Bob.


> On Oct 24, 2017, at 4: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
>> 'libffi'.
>> I read that it uses 'libffi' for JNA to bridge between the interpreter and
>> 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 mailing list