Issue cross-compiling idk 8 for powerpc
Kurt Stine
kstine at stanford.edu
Wed Jul 10 21:52:57 UTC 2024
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/20240710/9f9cefdc/attachment.htm>
More information about the build-dev
mailing list