Page MenuHomeFreeBSD

Use -fno-asynchronous-unwind-tables to compile lib/csu
ClosedPublic

Authored by dim on May 10 2020, 4:08 PM.
Tags
None
Referenced Files
F107970812: D24797.id71613.diff
Mon, Jan 20, 2:10 AM
Unknown Object (File)
Fri, Jan 17, 10:49 AM
Unknown Object (File)
Fri, Jan 17, 9:07 AM
Unknown Object (File)
Sat, Jan 4, 5:44 PM
Unknown Object (File)
Thu, Jan 2, 4:32 AM
Unknown Object (File)
Sat, Dec 21, 11:16 PM
Unknown Object (File)
Dec 19 2024, 9:57 AM
Unknown Object (File)
Dec 2 2024, 2:13 AM
Subscribers

Details

Summary

In rS209294 kib added -fno-asynchronous-unwind-tables to the compile
flags for the GNU C startup components. This was done to work around a
BFD ld assertion, "no .eh_frame_hdr table will be created", which is
produced because of the layout of the startup objects.

Add the same flag to lib/csu too, for the same reason. And similarly to
rS209294, also add -fno-omit-frame-pointer.

This is primarily meant to quickly MFC to stable/11, so it can end up in
the 11.4 release, as a fix for https://bugs.freebsd.org/246322.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31013
Build 28719: arc lint + arc unit