[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: Mon, 12 Dec 2022 22:20:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264094

--- Comment #24 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Jessica Clarke from comment #23)
I had tried the second suggestion, but that doesn't quite work since "n" can be
an array, as in VNET_DEFINE(struct hhook_head *,
ipsec_hhh_in[HHOOK_IPSEC_COUNT]).

Of course we could add VNET_DEFINE_ARRAY and so on.  Maybe that's better
anyway.  Do you see a way to work around the problem without introducing
something like that?

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