mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix arm64 build after llvm 18.1.3 upgrade
Apparently clang 18 has become more strict about using floating point
registers in inline assembly when -mgeneral-regs-only is used. This
causes sys/arm64/arm64/vfp.c to fail to compile, with "error:
instruction requires: fp-armv8", and "error: expected readable system
register".
To fix it, similar to other files compiled for arm64, disable
-mgeneral-regs-only for this particular file.
PR: 276104
MFC after: 1 month
(cherry picked from commit f4d93b6761)
This commit is contained in:
parent
c9eafe9796
commit
c7c33b213a
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ arm64/arm64/uma_machdep.c standard
|
|||
arm64/arm64/undefined.c standard
|
||||
arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack \
|
||||
compile-with "${NORMAL_C:N-fsanitize*}"
|
||||
arm64/arm64/vfp.c standard
|
||||
arm64/arm64/vfp.c standard \
|
||||
compile-with "${NORMAL_C:N-mgeneral-regs-only}"
|
||||
arm64/arm64/vm_machdep.c standard
|
||||
|
||||
arm64/coresight/coresight.c standard
|
||||
|
|
|
|||
Loading…
Reference in a new issue