HomeFreeBSD

devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18

Description

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)

Details

Provenance
dimAuthored on Jan 6 2024, 5:11 PM
Parents
R11:bc450d2923d8: graphics/qgis: Avoid CMake warning MAKE_GRASS
Branches
Unknown
Tags
Unknown