Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 10:33:25 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333399 - head/lib/libc
Message-ID:  <201805091033.w49AXPKX063804@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed May  9 10:33:25 2018
New Revision: 333399
URL: https://svnweb.freebsd.org/changeset/base/333399

Log:
  Now that a special no-SSP libc is used for rtld, allow
  -fstack-protector-all for normal libc builds.
  
  Submitted by:	Luis Pires
  Reviewed by:	brooks
  Differential revision:	https://reviews.freebsd.org/D15340

Modified:
  head/lib/libc/Makefile

Modified: head/lib/libc/Makefile
==============================================================================
--- head/lib/libc/Makefile	Wed May  9 10:30:56 2018	(r333398)
+++ head/lib/libc/Makefile	Wed May  9 10:33:25 2018	(r333399)
@@ -199,10 +199,6 @@ GENDIRDEPS_FILTER+= N${RELDIR:H}/msun
 
 # Disable warnings in contributed sources.
 CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/:C/^$/-w/}
-# XXX For now, we don't allow libc to be compiled with
-# -fstack-protector-all because it breaks rtld.  We may want to make a librtld
-# in the future to circumvent this.
-SSP_CFLAGS:=	${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/}
 # Disable stack protection for SSP symbols.
 SSP_CFLAGS:=	${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/}
 # Generate stack unwinding tables for cancellation points



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