Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2022 10:23:43 +0000
From:      Andrew Haley <aph-open@littlepinkcloud.com>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Kurt Miller <kurt@intricatesoftware.com>, Mikael Urankar <mikael.urankar@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Call for testing: OpenJDK 11 on Arm64
Message-ID:  <9dfcc136-231f-692d-cde4-9c7d17bac3b9@littlepinkcloud.com>
In-Reply-To: <0101017e17510bbf-2afcf100-ab72-4117-a02a-b59bf0ad73d6-000000@us-west-2.amazonses.com>
References:  <015b381f-d4f6-6088-6474-9add5d9a14c3@littlepinkcloud.com> <0101017e17510bbf-2afcf100-ab72-4117-a02a-b59bf0ad73d6-000000@us-west-2.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9dfcc136-231f-692d-cde4-9c7d17bac3b9>