From owner-svn-src-all@freebsd.org Fri Nov 11 23:28:09 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DB45C394CC; Fri, 11 Nov 2016 23:28:09 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EFF51F4D; Fri, 11 Nov 2016 23:28:09 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uABNS8DY094714; Fri, 11 Nov 2016 23:28:08 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uABNS831094712; Fri, 11 Nov 2016 23:28:08 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201611112328.uABNS831094712@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 11 Nov 2016 23:28:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308563 - in head/lib: libgcc_eh libgcc_s X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 23:28:09 -0000 Author: emaste Date: Fri Nov 11 23:28:07 2016 New Revision: 308563 URL: https://svnweb.freebsd.org/changeset/base/308563 Log: libcc_{s,eh}: build without SSP As in the gnu/lib/libgcc Makefile: libgcc is linked in last and thus cannot depend on ssp symbols coming from earlier libraries. Disable stack protection for this library. Reviewed by: dim Sponsored by: The FreeBSD Foundation Modified: head/lib/libgcc_eh/Makefile head/lib/libgcc_s/Makefile Modified: head/lib/libgcc_eh/Makefile ============================================================================== --- head/lib/libgcc_eh/Makefile Fri Nov 11 23:07:31 2016 (r308562) +++ head/lib/libgcc_eh/Makefile Fri Nov 11 23:28:07 2016 (r308563) @@ -5,6 +5,7 @@ PACKAGE= clibs LIB= gcc_eh NO_PIC= +MK_SSP= no WARNS?= 2 .include "Makefile.inc" Modified: head/lib/libgcc_s/Makefile ============================================================================== --- head/lib/libgcc_s/Makefile Fri Nov 11 23:07:31 2016 (r308562) +++ head/lib/libgcc_s/Makefile Fri Nov 11 23:28:07 2016 (r308563) @@ -4,6 +4,7 @@ PACKAGE= clibs SHLIB_NAME= libgcc_s.so.1 SHLIBDIR?= /lib +MK_SSP= no WARNS?= 2 LDFLAGS+= -nodefaultlibs