Re: Call for testing: OpenJDK 11 on Arm64

Andrew Haley <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 1/1/22 20:24, Greg Lewis wrote:
> Hi Andrew,
> 
> [Adding Mikael and Kurt]
> 
> I'm not subscribed to freebsd-arm, so please include me in any replies
> 
> On Fri, Dec 31, 2021 at 11:59:02AM +0000, Andrew Haley wrote:
>> Is anyone testing OpenJDK on FreeBSD/Arrm64?
> 
> Yes, aarch64 is a fully supported architecture for the BSD java port and
> OpenJDK 11 is supported on both FreeBSD/aarch64 and OpenBSD/aarch64.
> 
>> We're about to commit a great big patch for MacOS/AArch64, and it would be
>> nice if someone with a FreeBSD/Arm64 system could kick the tyres to make sure
>> we didn't break anything.
> 
> Is this based on the MacOS/aarch64 port introduced in OpenJDK 17?  If so,
> yes the patch will break things but we have an idea of how to resolve
> that breakage since we had to do it for OpenJDK 17.

OK. It'd be nice to have that committed.

>> Please forgive me, but I have no idea of OpenJDK even runs on FreeBSD/Arm64.
>> I've never seen it.
> 
> I'm not sure what your interest level is here,

I'm the project lead of the AArch64 OpenJDK port.

> but the current port is
> currently based at at https://github.com/battleblow/jdk11u, although I am
> a few weeks behind with merging changes. 

Interesting. So OpenJDK from the upstream source doesn't build on FreeBSD,
you have to patch it?

> If you want to see what
> architectures are currently supported then the FreeBSD ports tree lists
> supported architectures at
> 
> https://cgit.freebsd.org/ports/tree/java/openjdk11/Makefile#n14
> 
>> If anyone is interested,
>>
>> The PR is https://github.com/openjdk/aarch64-port/pull/14
>> The tree is https://github.com/openjdk/aarch64-port
>>
>> Checkout this PR locally:
>> $ git fetch https://git.openjdk.java.net/aarch64-port pull/14/head:pull/14
>> $ git checkout pull/14
>>
>> Update a local copy of the PR:
>> $ git checkout pull/14
>> $ git pull https://git.openjdk.java.net/aarch64-port pull/14/head
> 
> Is that against an up to date openjdk11u?  If so I can take a look in the
> next couple of days.  What are you looking for in terms of response?

Ideally:

I'd like all BSD fixes to be in the 11u source tree, so that everything in
there builds on all BSDs. I don't want to approve a patch that breaks BSDs,
or any other system. I think it would be better for OpenJDK committers to be
able to see BSD changes.

And I'd like to say "Hi, thanks!" to BSD maintainers.  :-)

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.