mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 18:20:49 -04:00
arm64: Disable outling atomics
We don't have the symbols for this. The virtio randon number driver uses a C11 atomic operation. With inline atomics this is translated to an Armv8.0 atomic operation, with outling atomics this becomes a function call to a handler. As we don't have the needed function the kernel fails to link. Fix by disabling outline atomics for now. Reviewed by: brooks, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45301
This commit is contained in:
parent
8d7331e62a
commit
361da40536
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ CFLAGS += -mgeneral-regs-only
|
|||
CFLAGS += -ffixed-x18
|
||||
# Build with BTI+PAC
|
||||
CFLAGS += -mbranch-protection=standard
|
||||
# TODO: support outline atomics
|
||||
CFLAGS += -mno-outline-atomics
|
||||
INLINE_LIMIT?= 8000
|
||||
.endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue