[Bug 264094] VNET and DPCPU defined in modules panic on use on arm64 after LLVM 14 import due to new linker relaxation

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Jul 2023 22:39:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264094

--- Comment #26 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=80e4ac2964a11edef456a15b77e43aadeaf273a2

commit 80e4ac2964a11edef456a15b77e43aadeaf273a2
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-07-23 13:48:36 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-07-23 22:35:04 +0000

    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

 sys/conf/kmod.mk | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.