Issue cross-compiling idk 8 for powerpc

Kurt Stine kstine at stanford.edu
Wed Aug 7 17:30:14 UTC 2024


Hi Magnus,

No, I am still unable to cross-compile jdk8u for ppc32. I was able to get the latest community ppc32 build from Azul, but it isn’t the latest/most up-to-date version.

Regards,
Kurt

From: Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com>
Date: Tuesday, August 6, 2024 at 9:41 AM
To: Kurt Stine <kstine at stanford.edu>, "build-dev at openjdk.org" <build-dev at openjdk.org>
Subject: Re: Issue cross-compiling idk 8 for powerpc


Hi Kurt,

Did you manage to resolve this issue?

/Magnus
On 2024-07-10 23:52, Kurt Stine wrote:
Hi Everyone,

I’m running into an issue when trying to cross-compile the latest jdk8u for powerpc (32 bit).

I am cross-compiling from x86_64 with Azul Zulu JDK 7 as my boot JDK.

Whenever I try and run "bash configure --openjdk-target=powerpc-linux --with-jvm-variants=zero", configure results in the following error:

checking size of int *... 8
configure: The tested number of bits in the target (64) differs from the number of bits expected to be found in the target (32).
configure: I'll retry after setting the platforms compiler target bits flag to -m32
checking size of int *... 0
configure: error: The tested number of bits in the target (0) differs from the number of bits expected to be found in the target (32)

I am using the brotlin glibc 13.2.0 toolchain specifically: https://toolchains.bootlin.com/releases_powerpc-440fp.html but I've confirmed that the error also occurs with standard GCC as well as when using a ppc sysroot.

My full configure.log is here: https://paste.debian.net/1322788/

Any help with this is appreciated.

Thanks,
Kurt Stine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240807/c4eb63c5/attachment.htm>


More information about the build-dev mailing list