Date: Fri, 02 Nov 2018 13:52:44 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 230857] loading carp module panic i386 kernel (VIMAGE related) Message-ID: <bug-230857-29464-QFsLzZNXHk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230857-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-230857-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230857 --- Comment #10 from Bjoern A. Zeeb <bz@FreeBSD.org> --- As Alex R points out if we run into symbol reordering problems with the extra variable fix committed, we could add an extra .o file to the end of the list which (unless there is a linker-script doing magic) should always stay at the end of the list. We could add that to just problematic modules or to all modules (and then could still ignore the extra bytes). We'd use a static __used variable to not conflict with duplicate symbols or if that does not work, asm. I am just adding this to the PR as to write own more possible ways to fix this. He also mentions -fPIC would probably solve the initial problem (but that's a totally different can of worms on our i386). -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230857-29464-QFsLzZNXHk>
