From nobody Mon May 9 09:00:18 2022 X-Original-To: freebsd-java@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 42DB61AD8BE0; Mon, 9 May 2022 09:00:26 +0000 (UTC) (envelope-from SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxZrT1msgz4lmm; Mon, 9 May 2022 09:00:25 +0000 (UTC) (envelope-from SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl) Date: Mon, 9 May 2022 11:00:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1652086818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iRyKSafg7mb6wIXyk/o+tEglgwuCRxuW0F/UkhpAZKY=; b=O7llOQ8FAVp8YYs8zr61W/OfZxmAwlb/NI8HP6K4K3sA5bOeOxnjsnRvJWFIciFyywkDpS DTzJhxg1Qg4X4ga7g2pBewQrG0kHA4p+FO1iv/3JJPOLF1gu83Ou7L979pqU5K2kYv5mp/ mczX0on1i2SRJy+FoPkvCowM42Di+crlJd7poFJGmTc2sfXXgq8Md7n/ryLA+r8z5FPazE ghhaieESYYzV7oJ+ShFQ9Ks0yz6X/UBIv+v0PxrNlIdxLNYGm2Rvz8VHpOZ3ErfNQeFuVC 39lvtkzhPmq9jsIZXQ0hhEsdLFnO2N4/3IQR/rvPLRv0tWlc/zOh7pU5et8ixA== From: Ronald Klop To: Greg Lewis Cc: =?UTF-8?Q?Mika=C3=ABl_Urankar?= , freebsd-arm@freebsd.org, freebsd-java@freebsd.org Message-ID: <1942762675.4.1652086818035@mailrelay> In-Reply-To: <01010180a1dfcd05-c3089932-de45-4a67-8910-3142a37ef4d6-000000@us-west-2.amazonses.com> References: <202204301129.23UBTh9D082833@ampere3.nyi.freebsd.org> <9f0d2c0b-2ef3-9a5f-3bf4-e3c4068947a4@FreeBSD.org> <1486531687.70.1651475552058@localhost> <01010180a1dfcd05-c3089932-de45-4a67-8910-3142a37ef4d6-000000@us-west-2.amazonses.com> Subject: Re: [package - 130arm64-default][java/openjdk17] Failed for openjdk17-17.0.2+8.1 in configure List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3_1938508586.1652086818021" X-Mailer: Realworks (607.113.437a2a1) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4KxZrT1msgz4lmm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=O7llOQ8F; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(0.99)[0.994]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-arm,freebsd-java]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=9B21=VR=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_3_1938508586.1652086818021 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Greg, I can reproduce the issue using poudriere on my rpi4. Will try to test the "ELF_FEATURES=3D noaslr:bootstrap-openjdk17/bin/= java" setting. But it takes a while on this hardware. NB: The error in the build is that the bootstrap-openjdk17 java command doe= s not run. So my first test would be to disable ASLR for that port. Regards, Ronald. =20 Van: Greg Lewis Datum: zondag, 8 mei 2022 06:14 Aan: Ronald Klop , "Mika=C3=ABl Urankar" CC: freebsd-java@freebsd.org, freebsd-arm@freebsd.org Onderwerp: Re: [package - 130arm64-default][java/openjdk17] Failed for open= jdk17-17.0.2+8.1 in configure >=20 > Is the suggestion to put that into the openjdk17 port Makefile? I'll loo= k for some documentation on this. >=20 > FWIW, the bootstrap just works on the AWS hardware I stand up for aarch64= . Although that is also where I built the bootstrap images. If someone ha= s some different hardware that would be preferable? >=20 > -- Greg >=20 > On 5/2/22 12:12 AM, Ronald Klop wrote: >> =20 >> Van: "Mika=C3=ABl Urankar" >> Datum: zondag, 1 mei 2022 17:56 >> Aan: Ronald Klop >> Onderwerp: Re: [package - 130arm64-default][java/openjdk17] Failed for o= penjdk17-17.0.2+8.1 in configure >>>=20 >>> On 30/04/2022 15:49, Ronald Klop wrote: >>> > Hi, >>> > >>> > Openjdk17 and openjdk13 are failing on 130arm64. >>> > >>> > This started in March, I don't see a bug report in Bugzilla about it. >>> > Openjdk17 is a LTS version so it would be nice to have that one fixed= . > Openjdk13 is deprecated so don't bother about that one but mentioning >= is because it might be related. >>> > >>> > Below the openjdk17 log. >>> > >>> > The build for main-arm64 had the same error: (IPv6:) > http://ampere2= .nyi.freebsd.org/data/main-arm64-default/p62850d28ca57_s651a887f4e/logs/err= ors/openjdk17-17.0.2+8.1.log >>> > >>> > Regards, >>> > Ronald. >>>=20 >>> Hi, >>>=20 >>> It's similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260= 187 >>> =20 >>>=20 >>>=20 >>>=20 >>=20 >>=20 >> Hi, >>=20 >> Thanks for sharing your memory of closed issues! >>=20 >> Would the port need something like this? >>=20 >> ELF_FEATURES=3D noaslr:bootstrap-openjdk17/bin/java >>=20 >> Maybe with a conditional on aarch64. >>=20 >> Regards, >> Ronald. >> >=20 ------=_Part_3_1938508586.1652086818021 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Greg,

I can reproduce the issue using poudriere on my rpi4.
Will try to test the "ELF_FEATURES=       noaslr:bootstrap-openjdk17/bin/java" setting. But it takes a while on this hardware.

NB: The error in the build is that the bootstrap-openjdk17 java command does not run. So my first test would be to disable ASLR for that port.

Regards,
Ronald.

 

Van: Greg Lewis <glewis@eyesbeyond.com>
Datum: zondag, 8 mei 2022 06:14
Aan: Ronald Klop <ronald-lists@klop.ws>, "Mikaël Urankar" <mikael@FreeBSD.org>
CC: freebsd-java@freebsd.org, freebsd-arm@freebsd.org
Onderwerp: Re: [package - 130arm64-default][java/openjdk17] Failed for openjdk17-17.0.2+8.1 in configure

Is the suggestion to put that into the openjdk17 port Makefile?  I'll look for some documentation on this.

FWIW, the bootstrap just works on the AWS hardware I stand up for aarch64.  Although that is also where I built the bootstrap images.  If someone has some different hardware that would be preferable?

-- Greg

On 5/2/22 12:12 AM, Ronald Klop wrote:
 

Van: "Mikaël Urankar" <mikael@FreeBSD.org>
Datum: zondag, 1 mei 2022 17:56
Aan: Ronald Klop <ronald-lists@klop.ws>
Onderwerp: Re: [package - 130arm64-default][java/openjdk17] Failed for openjdk17-17.0.2+8.1 in configure

On 30/04/2022 15:49, Ronald Klop wrote:
> Hi,
>
> Openjdk17 and openjdk13 are failing on 130arm64.
>
> This started in March, I don't see a bug report in Bugzilla about it.
> Openjdk17 is a LTS version so it would be nice to have that one fixed. > Openjdk13 is deprecated so don't bother about that one but mentioning > is because it might be related.
>
> Below the openjdk17 log.
>
> The build for main-arm64 had the same error: (IPv6:) > http://ampere2.nyi.freebsd.org/data/main-arm64-default/p62850d28ca57_s651a887f4e/logs/errors/openjdk17-17.0.2+8.1.log
>
> Regards,
> Ronald.

Hi,

It's similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260187
 



Hi,

Thanks for sharing your memory of closed issues!

Would the port need something like this?

ELF_FEATURES=       noaslr:bootstrap-openjdk17/bin/java

Maybe with a conditional on aarch64.

Regards,
Ronald.
 
------=_Part_3_1938508586.1652086818021--