[Bug 276155] devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Jan 2024 17:28:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276155

            Bug ID: 276155
           Summary: devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17:
                    fix build with clang 18
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

Clang 18 is more strict in checking inline assembly constraints,
resulting in an error building devel/llvm14, devel/llvm15, devel/llvm16,
and devel/llvm17:

 
/wrkdirs/usr/ports/devel/llvm14/work-default/llvm-project-14.0.6.src/compiler-rt/lib/asan/asan_rtl_x86_64.S:130:286:
error: displacement 70368744177664 is not within [-2147483648, 2147483647]

This is fixed by two upstream commits:
https://github.com/llvm/llvm-project/commit/b9935bb02a50
https://github.com/llvm/llvm-project/commit/966d564e43e6

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