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
F171367944: D24797.id71646.diff
Thu, Sep 10, 5:43 PM
F171366839: D24797.id71613.diff
Thu, Sep 10, 5:29 PM
Unknown Object (File)
Wed, Sep 9, 3:25 PM
Unknown Object (File)
Wed, Sep 9, 3:03 PM
Unknown Object (File)
Tue, Sep 8, 3:40 PM
Unknown Object (File)
Mon, Sep 7, 9:37 PM
Unknown Object (File)
Mon, Sep 7, 4:32 PM
Unknown Object (File)
Sun, Sep 6, 7:07 PM
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 Not Applicable
Unit
Tests Not Applicable