From owner-cvs-src@FreeBSD.ORG Sun Oct 25 13:19:03 2009 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32C601065744; Sun, 25 Oct 2009 13:19:03 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id B29178FC24; Sun, 25 Oct 2009 13:19:02 +0000 (UTC) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n9PB1bg0008230; Sun, 25 Oct 2009 22:01:37 +1100 Received: from server.vk2pj.dyndns.org (c122-106-233-13.belrs3.nsw.optusnet.com.au [122.106.233.13]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n9PB1YD0014755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Oct 2009 22:01:35 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n9PB1X7V003784; Sun, 25 Oct 2009 22:01:33 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n9PB1XAY003783; Sun, 25 Oct 2009 22:01:33 +1100 (EST) (envelope-from peter) Date: Sun, 25 Oct 2009 22:01:33 +1100 From: Peter Jeremy To: Ruslan Ermilov Message-ID: <20091025110133.GA3668@server.vk2pj.dyndns.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <200806252138.m5PLcajG067917@repoman.freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 13:19:03 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Jun-25 21:33:28 +0000, Ruslan Ermilov wrote: > Enable GCC stack protection (aka Propolice) for userland: =2E.. I realise this is very late but this seems to break profiling, at least on i386 (see http://cakebox.homeunix.net/wordpress/?p=3D109 and bin/139052). Based on a response from kan@, the problem is that libgcov.a is built with SSP enabled but gcc defaults to SSP disabled. r197277 added a work-around for dynamic linking but profiling implies static linking. IMO, it is unreasonable for an end-user to have to change compilation flags depending on whether FreeBSD was built with or without SSP. One solution would seem to be to embed libssp_nonshared.a into all non- shared libraries when the world is built using SSP. --=20 Peter Jeremy --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkrkMA0ACgkQ/opHv/APuIdpfQCguHZWSUcetN/Fiadhse+oKCAw 2DsAoKGNo50lHRV+shvezOG69PO7YQho =Cw/x -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--