HomeFreeBSD

Work around VNET and DPCPU related panics on aarch64

Description

Work around VNET and DPCPU related panics on aarch64

lld >= 14 and recent GNU ld can relax adrp+add and adrp+ldr
instructions, which breaks VNET and DPCPU when used in modules.

Until VNET and DPCPU can be fixed to deal with these relaxed
instructions, disable linker relaxation for now.

PR: 264094
Reviewed by: markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41156

(cherry picked from commit 80e4ac2964a11edef456a15b77e43aadeaf273a2)

Details

Provenance
dimAuthored on Jul 23 2023, 1:48 PM
Reviewer
markj
Differential Revision
D41156: Work around VNET and DPCPU related panics on aarch64
Parents
rG56749f05dbfd: ssh: disallow loading PKCS#11 modules by default
Branches
Unknown
Tags
Unknown