svn commit: r361047 - stable/11/lib/csu
Dimitry Andric
dim at FreeBSD.org
Thu May 14 19:09:26 UTC 2020
Author: dim
Date: Thu May 14 19:09:26 2020
New Revision: 361047
URL: https://svnweb.freebsd.org/changeset/base/361047
Log:
MFC r360915:
Use -fno-asynchronous-unwind-tables to compile lib/csu
Summary:
In r209294 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
r209294, 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.
PR: 246322
Differential Revision: https://reviews.freebsd.org/D24797
Modified:
stable/11/lib/csu/Makefile.inc
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/csu/Makefile.inc
==============================================================================
--- stable/11/lib/csu/Makefile.inc Thu May 14 19:09:13 2020 (r361046)
+++ stable/11/lib/csu/Makefile.inc Thu May 14 19:09:26 2020 (r361047)
@@ -6,4 +6,7 @@ SED_FIX_NOTE = -i "" -e '/\.note\.tag/s/progbits/note/
NO_WMISSING_VARIABLE_DECLARATIONS=
+CFLAGS+= -fno-asynchronous-unwind-tables
+CFLAGS+= -fno-omit-frame-pointer
+
.include "../Makefile.inc"
More information about the svn-src-all
mailing list