From nobody Sat Jul 09 09:36:01 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 3B5103E5B5B for ; Sat, 9 Jul 2022 09:36:02 +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 4Lg4lP5mkcz3rmY for ; Sat, 9 Jul 2022 09:36:01 +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 4Lg4lP4c5bzgxT for ; Sat, 9 Jul 2022 09:36:01 +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 2699a1lD017878 for ; Sat, 9 Jul 2022 09:36:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2699a1CL017877 for java@FreeBSD.org; Sat, 9 Jul 2022 09:36:01 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: Sat, 09 Jul 2022 09:36:01 +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: peter.sopko@backbone.sk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc 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=1657359361; 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=pZ0hjj+a038OWA226piySKjMWNSNovNWwu1jQFj/pss=; b=JYda9h+H1J4PTzVwbXPadlGFGb9F3MS9c1P8ABk3IBJpvmcXUIiY0dYEJrNF5cd7g1Melz CIjriivtoeiFEZaAIiiNYD8nwHvuHbaayuHnjBY3HvWWpAS3eYE9Hbiv/sQgNeCiePXnOs 0prE6nZRQd5rpBcRS75D2+RoAwTOrYlUo0InIW+CUl5dUYzwPdmCjEwMhewKSf4seRTW2f fTEXGc3/4ClJf8sJW+1sZIAMtuadsf1ezl2LfR/GB3OlPuLTSHQskigh4C5IygMj+UIC0F gkyQYLK7fqw3d75iXy3k9sORP7baZ5qJvhruaKCH+hiY0GgXijg+PfsV//mJ3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657359361; a=rsa-sha256; cv=none; b=gELIQOAFyIxk5VrkZdLAS03SN5//hMp/pdH0bE1vNPvLLZ1rapT+9S9OhAqkKnR6+EfvqC Om9azKEsYVWz/fWQR72/mZxZEqZD0F4J184jdxPDPlHnDZ59+f8KP31mc0p6AI6n0ZzKXI jdFosJT/I7Oy28zPOTCeQi9RRrdlq59asQ5mgx08020JF5DXCVvXv+VTU9zqLm7UDOPth2 2pqYt4cYB5dW41/+I5+ztJlAhBc0jHJArdljg+v5yKFlxMixy1U3VFTQL2+AS9f+28y8NB pv9HGNJB13eeK/ctHjnAgQ7DCEhVk0wjFIxNaofoFQXQsKV646mYN6XS+XfOSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264065 Peter Sopko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.sopko@backbone.sk --- Comment #15 from Peter Sopko --- can we please (as already mentioned by previous comments) limit the llvm12 dependency requirement to aarch64 architecture ? Changing current Makefile to contain something like=20 .if ${COMPILER_VERSION} >=3D 130 .if ${ARCH} =3D=3D aarch64 # PR258954: OpenJDK <=3D 13 crash due to undefined behavior with clang= >=3D 13 # See also https://bugs.openjdk.java.net/browse/JDK-8229258 LLVM_VER=3D 12 BUILD_DEPENDS+=3D clang${LLVM_VER}:devel/llvm${LLVM_VER} CC=3D ${LOCALBASE}/bin/clang${LLVM_VER} CXX=3D ${LOCALBASE}/bin/clang++${LLVM_VER} .else CONFIGURE_ARGS+=3D --with-extra-cflags=3D"-Wno-unused-but-set-parame= ter" .endif .endif on line 207 should be enough (basically having the previous behaviour in ca= se architecture is not aarch64, and this new patched llvm12 behaviour in case = it is not aarch64)... Thank you --=20 You are receiving this mail because: You are the assignee for the bug.=