Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2020 19:32:41 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r361050 - releng/11.4/lib/csu
Message-ID:  <202005141932.04EJWfTQ046674@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu May 14 19:32:41 2020
New Revision: 361050
URL: https://svnweb.freebsd.org/changeset/base/361050

Log:
  MF11 r361047:
  
  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.
  
  Approved by:	re (gjb)
  PR:		246322
  Differential Revision: https://reviews.freebsd.org/D24797

Modified:
  releng/11.4/lib/csu/Makefile.inc
Directory Properties:
  releng/11.4/   (props changed)

Modified: releng/11.4/lib/csu/Makefile.inc
==============================================================================
--- releng/11.4/lib/csu/Makefile.inc	Thu May 14 19:29:08 2020	(r361049)
+++ releng/11.4/lib/csu/Makefile.inc	Thu May 14 19:32:41 2020	(r361050)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005141932.04EJWfTQ046674>