[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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Sep 2022 08:54:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264065

--- Comment #24 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=a705af9bfceba0fafc2612898a7afcedcb7c1865

commit a705af9bfceba0fafc2612898a7afcedcb7c1865
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-09-14 08:52:30 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-09-14 08:52:48 +0000

    java/openjdk8: Restore workaround for aarch64 assertions

    See also <https://bugs.openjdk.org/browse/JDK-8247766>.

    Even though the upstream fix has been applied to this version of the
    JDK, some users still report the assertion "guarantee(val < (1U <<
    nbits)) failed: Field too big for insn" occurring, when it is built with
    recent versions of clang.

    Therefore, restore the workaround that uses clang 12 to build the JDK on
    aarch64.

    PR:             264065
    MFH:            2022Q3

 java/openjdk8/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.