From nobody Mon May 16 07:49:26 2022 X-Original-To: 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 361001B33EE2 for ; Mon, 16 May 2022 07:49:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1rxL0HC8z3MML for ; Mon, 16 May 2022 07:49:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA40D1C38C for ; Mon, 16 May 2022 07:49:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24G7nPm8018198 for ; Mon, 16 May 2022 07:49:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24G7nP2S018197 for java@FreeBSD.org; Mon, 16 May 2022 07:49:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 260187] java/bootstrap-openjdk17: broken on aarch64 Date: Mon, 16 May 2022 07:49:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ronald-lists@klop.ws X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652687366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dS+LU7NXnlZC1ro4K1EGinNBETu80Tkr7DRyQed5bmM=; b=gPpvXVr5dDXKHbXuSeT7aQD7UBRNro8EaUuUmNwMUIFcQyAOMRfcmWmKJileBtMo4fDw+3 PpLr4NvcP7fmuiroLZBN3zfCMT8ubxJHmSEoeOVketMRtgRJ5yayb31N3IvI2T++KmJiVp wrJT93tss0BGxT/QwzftcbEij0FNPIRHRqiATVFeFo4MRflXiCdFZYbAEeF12c9cSqTzFD ED0LZH0PVFlxk9pFXFONSiSpmrsgX+s0XGyn70A8i6lJc9nL/rYagVYzrnS8J1dIjVqskX eWldNtuP1mRwsXB8Aw53vAguM8FjHcbVkaAJTpJzVFnxpV9SEhJdhsmnCasFbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652687366; a=rsa-sha256; cv=none; b=pdWj23yhyKlR1VSqaRwdqR5PRYkIibYsqzmVJ6F6Stz2doX8GJnaHfh8h7gmU9e9F9T7uL WBAORWbQWCzBLiOGeBSU3GjQotwLq5qK7jfe+D/DsbE/o+6ilH0ZDjbAyM7BVK2wIoBwzd HpbUAxiO+be/cJ25Hjw4Bx2zVzqa7TAOuWnOH5iEySd4japFMh0TKDjPVO+ZZ1hEIx4yk2 wteA2G58Tvme89fVkD3zuqDpGFYk3LcUkcKmeX1Qwf5kedVYKZEzETeq2DSuIa9m35i9Ee sxlWpge7iR0VPCt1Z4jMIamtRG9zHLhIzPlyYWiKP876mxtTNkHQrxcVbMbZBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260187 --- Comment #7 from Ronald Klop --- See this thread for more info about the issue. https://lists.freebsd.org/archives/freebsd-arm/2022-May/001340.html It is pretty easy to workaround the failure of bootstrap-openjdk17 by using "ELF_FEATURES=3D +noaslr:bin/*" in the port. See the linked mail for a more elaborate patch which only enables this on aarch64. But using this to build the java/openjdk17 build still fails in all kinds of internal executables with that same error during the openjdk17 build. I don't know how to workaround this in the ports framework. Plus -more important- why does this only happen on aarch64 and not amd64? I can reproduce this on an rpi4/8GB running: # uname -a FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #7 main-31e076d70b: Wed Mar = 23 08:55:39 CET 2022=20=20=20=20 ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/= GENERIC-NODEBUG arm64 Although my build jail is newer than the host. [00:00:01] Host OSVERSION: 1400053 [00:00:01] Jail OSVERSION: 1400055 I have no idea if something is broken in Java or in FreeBSD. --=20 You are receiving this mail because: You are the assignee for the bug.=