Need OpenJDK to be used on PowerPC for our products.

Aleksey Shipilev shade at redhat.com
Fri Jan 7 10:23:33 UTC 2022


On 1/7/22 11:06 AM, Dipendu Ghosh wrote:
> At present I am trying to setup the build environment for OpenJDK. So I followed the steps 
> present at https://openjdk.java.net/groups/build/doc/building.html. 

I think that's a mirror of in-tree docs:
   https://github.com/openjdk/jdk/blob/master/doc/building.md#cross-compiling-with-debian-sysroots

I'd go for in-tree docs, as those are supposed to be most up to date.

> The default build steps ran fine and the output was generated for linux-x86_64-server-release.
> Now I am trying to execute the cross compilation which is for aarch64-linux-gnu.
Okay. We know that should work, because GHA routinely cross-compile x86_64 -> aarch64:
 
https://github.com/openjdk/jdk/blob/62d03c283667c4122130ec9bbeec623e6a2840e5/.github/workflows/submit.yml#L513-L558

-- 
Thanks,
-Aleksey




More information about the build-dev mailing list