Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jul 2022 09:36:01 +0000
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
Message-ID:  <bug-264065-8522-H5Im3RA2lp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264065-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264065-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264065

Peter Sopko <peter.sopko@backbone.sk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.sopko@backbone.sk

--- Comment #15 from Peter Sopko <peter.sopko@backbone.sk> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264065-8522-H5Im3RA2lp>