[Bug 264094] VNET and DPCPU defined in modules panic on use on arm64 after LLVM 14 import due to new linker relaxation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Dec 2022 20:36:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264094
--- Comment #22 from Jessica Clarke <jrtc27@freebsd.org> ---
Using
__attribute__((used,section("set_vnet_entry"),alias("vnet_entry_"#_n)))
static _t vnet_alias_##_n;
as a hacky way to forward-declare the thing without the compiler complaining
seems to work.
--
You are receiving this mail because:
You are on the CC list for the bug.