From nobody Mon Sep 19 14:45:28 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 4MWSCF3354z4d4c7 for ; Mon, 19 Sep 2022 14:45:29 +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 4MWSCF21Vqz3Nw3 for ; Mon, 19 Sep 2022 14:45:29 +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 4MWSCF15FVzPmY for ; Mon, 19 Sep 2022 14:45:29 +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 28JEjTDS027312 for ; Mon, 19 Sep 2022 14:45:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28JEjTZX027311 for java@FreeBSD.org; Mon, 19 Sep 2022 14:45:29 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 264065] java/openjdk8: Crashes on aarch64 when built with clang13: # Internal Error (assembler_aarch64.hpp:237) .. guarantee(val < (1U << nbits)) failed: Field too big for insn Date: Mon, 19 Sep 2022 14:45:28 +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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? 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=1663598729; 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=4qDjYbFEolzwr6yzysTWxqbGXexvgDiMK0zLU3du5P8=; b=DLSqBZ4meP0YbT93JUEGz857V/sJEPHyK1fOqX4iRWmw4zbZizuKXL9K0rhR8POzLH2nOf eAAehwsdyNTWX1FTJHhPRQyltnce7rnpMnPq1Z03EUUXQDwv79S7WdjUKUPnPsjW4uzsh2 X9lZJOleUvcYzFjCrL3duEGBH1cJI8Z4JmzEbWDwxksdZIg/m9Wl33a6XF8vz7fhFUn1d/ BhqcCkArSmZwCL+WXmaXO93qTt2q5+NndgOglU6H5yCv23kCreCBSrba4mEUm8midL/dlQ 8BAArg6OrmAUCEX/dimq7F57jLHDo8r8cDWP5p0kd2qTydMgL5V+RB9A8bAHdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663598729; a=rsa-sha256; cv=none; b=Mvs6nWgfiTgXCn28tR9fOYKJ1s6MCA/xqkmsCqh2P3pOlRli44oLRu/B9SqxvKmLwpx7k5 cpAnEm1l2v2BDbtwjxMVLIstJ62bKsdS4skPPIhIsYTlS5CuR9m5moFT2ZK1xAZCaGkaJt XuI9fhu7rfLtwHLErosSVAyz8xDA5BKWVpaS2yU02higkbGaws5MO21mIn6u0iuVozBUdY J21rvtCWXN0kjrJnWi1F7UbXj+teYtYnn/0MfTJ96Z1JUIiN+BnVBdibRrnabrBNZlm4oc JuAy1vwZEvB1/rV4RbpLbhFfGtRt1Ep3NFLkiU42/Pf5PZZ9ykswpw41hAmrTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264065 --- Comment #31 from Dimitry Andric --- (In reply to Ronald Klop from comment #30) > The tijmp failure I mentioned in comment #23 was build with this openjdk8: >=20 > http://ampere2.nyi.freebsd.org/data/main-arm64-default/p23c196516a66_s45a= d955714/logs/openjdk8-8.342.07.1.log >=20 > That openjdk is build without bringing in llvm12. Yes, I can see it in the log. It is building 8.342.07.1 with the system cla= ng 14.0.5. > So did the fixes really go into this openjdk8? Yes, I have verified that even before my changes, when 8.342.07.1 was committed, the two fixes are applied in the upstream sources. > Or why else do they not work? The "build with clang 13" fix works, since it does build with clang >=3D 13= (in this case, 14.0.5). The "aarch64 assertion failure" fix does not seem to work, and that is the = big mystery. This fix came verbatim from openjdk8 upstream, but maybe it does n= ot cover all situations. It is hard to tell without access to a full aarch64 debugging environment and a reproduction case. The upstream bug for this, https://bugs.openjdk.org/browse/JDK-8247766, does have a bunch of duplicates, but most of them are for backports to older JDK branches. --=20 You are receiving this mail because: You are the assignee for the bug.=