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.htmlbut
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