[Bug 230857] loading carp module panic i386 kernel (VIMAGE related)

2018-11-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230857
Bug 230857 depends on bug 232289, which changed state.

Bug 232289 Summary: kern/link_elf.c fails for small sections sizes 
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232289

   What|Removed |Added

 Status|In Progress |Closed
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 230857] loading carp module panic i386 kernel (VIMAGE related)

2018-11-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230857

--- Comment #10 from Bjoern A. Zeeb  ---
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.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"