[Bug 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 10 08:57:48 UTC 2020


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

--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Dimitry Andric from comment #4)
So what shall we do here? I've gone a little bit into the rabbit hole that is
BFD ld, but the bug does not "jump out" at me. So fixing it is likely not
trivial.

We could:
1) Patch out the error message in BFD ld (possibly only on stable/11)
2) Spend time to figure why BFD ld is choking on this .eh_frame section, get a
fix, submit it upstream, merge it downstream, etc
3) Add -fno-asynchronous-unwind-tables to lib/csu in general
4) Add -fno-asynchronous-unwind-tables to lib/csu/i386 only
5) Add -fno-asynchronous-unwind-tables to lib/csu/i386 only, and only on
stable/11

My preference would be for 5). Note that we'd need to MFS any fix to
releng/11.4 too.

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


More information about the freebsd-toolchain mailing list