From nobody Mon Jan 3 10:23:43 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3C4FB192C0EA for ; Mon, 3 Jan 2022 10:23:53 +0000 (UTC) (envelope-from aph-open@littlepinkcloud.com) Received: from mail.littlepinkcloud.com (littlepinkcloud.com [IPv6:2a00:1098:86:20::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JSBfv4pcCz4ny2 for ; Mon, 3 Jan 2022 10:23:51 +0000 (UTC) (envelope-from aph-open@littlepinkcloud.com) Received: from [10.0.0.8] (cpc108959-cmbg20-2-0-cust731.5-4.cable.virginm.net [80.0.22.220]) by mail.bookofsand.co.uk (Postfix) with ESMTPSA id 4215726A3; Mon, 3 Jan 2022 10:23:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.bookofsand.co.uk 4215726A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=littlepinkcloud.com; s=default; t=1641205424; bh=jR7bJOnsveIOsJg8p0c7Q3tvnu76uCeQOUbUQLOvJc8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=STyYx1qByGP5iavO5doNO64VMOWUldSF0Tq075OLvZoKRXPRdiS3waDh2/RAc2PJ3 eArZrE02OOrym7nqk2m5TPn65FYwuCcS70sjCpJBFpnMWjayTONWb7A0mDFzZo8lrV rCpez8V0g9QDT532W+tBN24JQ1Vujapf17JAz6io= Message-ID: <9dfcc136-231f-692d-cde4-9c7d17bac3b9@littlepinkcloud.com> Date: Mon, 3 Jan 2022 10:23:43 +0000 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: Call for testing: OpenJDK 11 on Arm64 Content-Language: en-US To: Greg Lewis Cc: Kurt Miller , Mikael Urankar , freebsd-arm@freebsd.org References: <015b381f-d4f6-6088-6474-9add5d9a14c3@littlepinkcloud.com> <0101017e17510bbf-2afcf100-ab72-4117-a02a-b59bf0ad73d6-000000@us-west-2.amazonses.com> From: Andrew Haley In-Reply-To: <0101017e17510bbf-2afcf100-ab72-4117-a02a-b59bf0ad73d6-000000@us-west-2.amazonses.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JSBfv4pcCz4ny2 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=littlepinkcloud.com header.s=default header.b=STyYx1qB; dmarc=none; spf=pass (mx1.freebsd.org: domain of aph-open@littlepinkcloud.com designates 2a00:1098:86:20::3 as permitted sender) smtp.mailfrom=aph-open@littlepinkcloud.com X-Spamd-Result: default: False [2.47 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[littlepinkcloud.com:s=default]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DMARC_NA(0.00)[littlepinkcloud.com]; RECEIVED_SPAMHAUS_PBL(0.00)[80.0.22.220:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.994]; DKIM_TRACE(0.00)[littlepinkcloud.com:+]; NEURAL_SPAM_LONG(0.93)[0.934]; NEURAL_HAM_MEDIUM(-0.45)[-0.454]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; FREEMAIL_CC(0.00)[intricatesoftware.com,gmail.com,freebsd.org]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 2577 Lines: 74 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://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671