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

--- Comment #10 from Alex Richardson <[email protected]> ---
I am aware a least two workarounds, but none of those can really be committed
as is:
- Remove -Wl,--gc-sections from all makefiles (will result in larger binaries)
- Rebuilding lib/csu with https://reviews.freebsd.org/D35534 (breaks the build
with older linkers/compilers - not a big deal for RISC-V, but it is for other
architecture).

As jrtc27@ said in https://reviews.freebsd.org/D35534, the real solution would
be to move the ELF notes so they can't be GC'd, but someone needs to do that
work (I don't have time right now).

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

Reply via email to