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
Created attachment 247490 [details] devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18
probably technically needs a PORTREVISION bump.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b672496d6927004bfcb41db685a66750420ead4 commit 0b672496d6927004bfcb41db685a66750420ead4 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-06 17:11:27 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-12 16:31:52 +0000 devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18 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 PR: 276155 Approved by: brooks (maintainer) MFH: 2024Q1 devel/llvm14/Makefile | 6 +++++- devel/llvm14/distinfo | 4 ++++ devel/llvm15/Makefile | 6 +++++- devel/llvm15/distinfo | 4 ++++ devel/llvm16/Makefile | 6 +++++- devel/llvm16/distinfo | 4 ++++ devel/llvm17/Makefile | 6 +++++- devel/llvm17/distinfo | 4 ++++ 8 files changed, 36 insertions(+), 4 deletions(-)
A commit in branch 2024Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c91d810f65bbffe63287b537f025566ad7e2e598 commit c91d810f65bbffe63287b537f025566ad7e2e598 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-06 17:11:27 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-12 16:37:34 +0000 devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18 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 PR: 276155 Approved by: brooks (maintainer) MFH: 2024Q1 (cherry picked from commit 0b672496d6927004bfcb41db685a66750420ead4) devel/llvm14/Makefile | 6 +++++- devel/llvm14/distinfo | 4 ++++ devel/llvm15/Makefile | 6 +++++- devel/llvm15/distinfo | 4 ++++ devel/llvm16/Makefile | 6 +++++- devel/llvm16/distinfo | 4 ++++ devel/llvm17/Makefile | 6 +++++- devel/llvm17/distinfo | 4 ++++ 8 files changed, 36 insertions(+), 4 deletions(-)