From nobody Mon May 09 08:09:42 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 C22A21ACDF40; Mon, 9 May 2022 08:09:45 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxYk152Vvz4d50; Mon, 9 May 2022 08:09:45 +0000 (UTC) (envelope-from mikael@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652083785; 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=Ht6cSObgigx8ds+CmajbhTTGt/J6o1lfQMIH3z2NuDE=; b=JB+evPKfgMm9cR6DvzIrYdSxzFCc9q/FVF0Hjp7FUKZmO8TTz6XDluXMwe59Shojz4mG0V DKyq5RFGNZJamPF1fj+GYVFjkMp4VUrcOP6VWvNfRvIXFvU3nW2NgWp/0ai1nNU7atZmA2 2c/RNmTnypk4F+Cw89/N/RDp2rZQgjtr7DEf7rEfITard/1DKSapvs1dLgqc+NXEhBVTCw 6slKbBb5IuEjph+0tHNNfMbGWnI2pqwWtPcLiXTPNT0p8btZ301d1sh5je+SmtSqFVQdOG omRXHR+5E92wD6rgWp+gQpaU+NifFd32+V1c8pV1pwq6bdxF4yxQrr3XcXiTXg== Received: from [147.171.68.35] (desktop-016.gipsa-lab.grenoble-inp.fr [147.171.68.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mikael) by smtp.freebsd.org (Postfix) with ESMTPSA id 17D2C10C4; Mon, 9 May 2022 08:09:44 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Content-Type: multipart/alternative; boundary="------------aOac6q26CVux0z3IE9LfPVAi" Message-ID: <9c1e1a94-b566-a4c3-3c35-751d75845d4b@FreeBSD.org> Date: Mon, 9 May 2022 10:09:42 +0200 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; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [package - 130arm64-default][java/openjdk17] Failed for openjdk17-17.0.2+8.1 in configure Content-Language: en-US To: Greg Lewis , Ronald Klop Cc: freebsd-java@freebsd.org, freebsd-arm@freebsd.org 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> From: =?UTF-8?Q?Mika=c3=abl_Urankar?= In-Reply-To: <01010180a1dfcd05-c3089932-de45-4a67-8910-3142a37ef4d6-000000@us-west-2.amazonses.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652083785; 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=Ht6cSObgigx8ds+CmajbhTTGt/J6o1lfQMIH3z2NuDE=; b=TW04AoadTAz7BpRQy1HrUaUgHnyABgmSeKMHOWRkTprgBQP4D44tKtI4QqYEhL7GeV4zeT VUu5wSsAKXnYs5L+GG48F1PRvKQq9rbqZN9mWsCqf0xaf8710ZVUE989Qi1xXO/MkaTxz9 TpB4b6up/qOWGC3aa5Mge3bBj5mAtDaCCFPDEcvMLwzIzItEyWfK7Tx5bbjgncGrTiTZ56 NtTPTyyi72DWMKMjFYnlPeD/RVwpnf4CWepHSjjtosSPwReXzSrwdoNG88ngq4OIUJRvVa Y7htj0v+TeE0u8MKay22Bi5f5VB0mJtgj8eQ2BCJST9ofK81bYxx9lgO1kXCuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652083785; a=rsa-sha256; cv=none; b=FMbE3mqhP0cQ/EO3N/GLpvIkopKVV+ahZbNic61AnFJjSuZaWBo8h7eXDQ806XnX/w4p6A zRgp6D3f9pW9/QsPtNaTmXG54IQMwJlRuKqwlPvBthT/2P+lQJoyNcSjPc6CgetWQDixjY 9rO7KAeQACEGFNOYShU02cGd+YeR7sXuQjnGzXHWfZt/CHThOWrl89eL+V8VxLWX4EkpYE mg93Q/BLCaKXFqkdjTyFgPoHMkl1c2H9tIrBsH0apKlPlA6/VAr0zdGNSTE9F2zzX72JtQ 5B1JwrTRrBXvcPdaVRSXIMvy1Z+c8Io254o2ujSs25aW9qYY7sqxXZcG37wHeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------aOac6q26CVux0z3IE9LfPVAi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ASLR was turned on by default on -CURRENT. All the java ports are affected if they are built with a -CURRENT system. On 08/05/2022 06:14, Greg Lewis wrote: > > 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" >> *Datum:* zondag, 1 mei 2022 17:56 >> *Aan:* Ronald Klop >> *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. --------------aOac6q26CVux0z3IE9LfPVAi Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
ASLR was turned on by default on -CURRENT. All the java ports are affected if they are built with a -CURRENT system.

On 08/05/2022 06:14, Greg Lewis wrote:

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.
 


--------------aOac6q26CVux0z3IE9LfPVAi--