Issue cross-compiling idk 8 for powerpc
Aleksey Shipilev
shipilev at amazon.de
Wed Aug 7 17:39:04 UTC 2024
Hi,
On 07.08.24 19:30, Kurt Stine wrote:
> 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.
I used to build PPC32 binaries for JDK 8u with debootstrapped sysroots and native cross-compiler:
https://github.com/openjdk/jdk/blob/master/doc/building.md#using-debian-debootstrap
> Whenever I try and run "bash configure --openjdk-target=powerpc-linux --with-jvm-variants=zero",
> configure results in the following error:
I suspect openjdk-target should be "powerpc-linux-gnu"?
JDK 8 build system is often confused about compilers as well. I recommend configuring with
explicitly set CC and CXX, i.e.:
$ CC=... CXX... bash ./configure ...
-Aleksey
Amazon Web Services Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
More information about the build-dev
mailing list