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 <[email protected]>
Date: Tuesday, August 6, 2024 at 9:41 AM
To: Kurt Stine <[email protected]>, "[email protected]" 
<[email protected]>
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

Reply via email to