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)
(cherry picked from commit f1f27dfa4ad9da53fcdfc6aae644fab83bda4e76)

Approved by: so
Security: FreeBSD-EN-23:08.vnet

Details

Provenance
dimAuthored on Jul 23 2023, 1:48 PM
markjCommitted on Aug 1 2023, 7:50 PM
Reviewer
markj
Differential Revision
D41156: Work around VNET and DPCPU related panics on aarch64
Parents
rG9b45d8eddfac: pam_krb5: Add missing patch
Branches
Unknown
Tags
Unknown