Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2023 12:36:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271992] backport fix for LLVM bug 61396
Message-ID:  <bug-271992-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271992
           Summary: backport fix for LLVM bug 61396
           Product: Base System
           Version: CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

Created attachment 242772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242772&action=
=3Dedit
backport of LLVM commit 962c306a11d0a21c884c12e18825b8a41ba1bd7d

LLVM 15 and 16 have a codegen bug that causes gcc to be miscompiled on 32 b=
it
ARM.  See LLVM issue 61255 reported by Mark Millard, which turned out to ha=
ve
the same root cause as issue 61396.  This is fixed in llvm-devel but not in=
 any
release.

With the attached diff to the FreeBSD copy of llvm-project I am able to bui=
ld
lang/gcc11, gcc12, gcc13, and gcc-devel in an armv7 jail.  Without the fix =
the
ports builds hang because gcc built by llvm goes into an infinite loop.


References:

https://github.com/llvm/llvm-project/issues/61255
https://github.com/llvm/llvm-project/commit/962c306a11d0a21c884c12e18825b8a=
41ba1bd7d

--=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-271992-227>