https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230857

--- Comment #10 from Bjoern A. Zeeb <b...@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.
_______________________________________________
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"

Reply via email to