[Bug 271616] devel/llvm16: remove files/patch-freebsd-r352318

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 May 2023 19:41:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271616

            Bug ID: 271616
           Summary: devel/llvm16: remove files/patch-freebsd-r352318
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: jfc@mit.edu
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

Many years ago a patch was added to the then-current llvm port, contained in
file files/patch-freebsd-r352318.  This patch has been carried forward to every
new llvm port.  As far as I can tell the underlying bug was fixed around LLVM
10.  Since at least LLVM 14, and likely since LLVM 10, this patch introduces a
bug by reverting a bug fix.  The llvm test suite (llvm-lit llvm/test) does not
pass with it applied.

The patch was added because a particular file in the arm64 kernel crashed the
compiler.  I was able to compile and boot an arm64 kernel using llvm16 after
removing files/patch-freebsd-r352318.

Going forward the LLVM regression tests should pass before a ports change is
committed.

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