From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 27 04:07:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDDE6106564A for ; Mon, 27 Feb 2012 04:07:56 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 735CE8FC13 for ; Mon, 27 Feb 2012 04:07:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:subject:references:content-type; q= dns; s=sweb; b=C2OW1shOacmnVui0qerR8SRbkfp5kgWGmx/jDj4KbqZlxSld0 AreATulanK06ZD3vcXxsxsBQta2pIQEMr094oE8UIqSLr7XsI+e3iwxO2In+D7n+ c0LQoDYGrOfSL64b/9f3X5j+eGPPiXU9MfjQY3L9OsI2JqKhei5egHn4AI= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:subject:references:content-type; s= sweb; bh=WG5TBAJl9KLrkjveRqjQ4yAL0fVcGJh0cCmEu1KEniM=; b=vsjBmQt 8l/ZhxdYeHinQd9xSgiP+GQq1NYM1T/LOR/EI9zOwCbGpwVt1qrS9NplHxmwpjzn M+0H2NQiS//OGNtj9M7aMcPCKSXZ8VXv70gRXehS02JfUfCDC2JG8FA3P3qnCIye JE2OJpnJCEL2MpCPYnUDLYybMBGhBEMbUU1s= Received: (qmail 25793 invoked from network); 26 Feb 2012 21:41:13 -0600 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 26 Feb 2012 21:41:13 -0600 Message-ID: <4F4AFB53.8020503@shatow.net> Date: Sun, 26 Feb 2012 21:41:07 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: jeremie@le-hen.org, freebsd-hackers@freebsd.org References: 20101106194702.GN2392@deviant.kiev.zoral.com.ua X-Enigmail-Version: 1.3.5 OpenPGP: id=A4EB5085; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAFA83EECC5FEBA40AED1D184" Cc: Subject: re: compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally)= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 04:07:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAFA83EECC5FEBA40AED1D184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeremie, Thanks for this patch [1]! I've been building my ports tree with -fstack-protector on FreeBSD 6, 7 and 8. Once I upgraded to 8, I started running into the issue [2] this patch is fixing. I have a situation where non-ports applications are compiling statically, which ran into this. Specifically, the application is linking in security/openssl statically, which of course was compiled with -fstack-protector. Adding the /usr/lib/libc.ld fixed it without needing to hack at the failing non-port application. Would be nice if this, and PR 138228 were finally committed. Bryan Drewery [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2011-June/035538.h= tml [2] http://gcc.gnu.org/ml/gcc-help/2006-05/msg00092.html --------------enigAFA83EECC5FEBA40AED1D184 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPSvtXAAoJEF8gbo+k61CFzuwIAIbQXu2Tb7fwkNYnIYFtlOgz Js2dqtiqexdGu9AFJjxIsxkQAnOtPoNSI2yME3935AJ5war3UwDhK4fyAmoaxqKe s3QEYiW+tCwIsl+kxXk2wpTakCOQVGl9TCVBhTgk5UJY6vP7/8mGz2Lk7y+6PH6j Mmdo/AXat8Uuhy8f4SvLRUQ3o9BuKtP5L09Hrlm/2uQm09XNfyINuRfaTjHD6iuS 4ZG2u4FtHrhUCsEwFh4vkWeS7Tla8hdcyNKAs4qH+O/OPNzqjEJkopopX8DOC6EQ bC8XakXs99BSj6k0eaGmpStWT2/0eacQDZnKQ3znq74epfFDxSYst2KyfBPjFwc= =3P3S -----END PGP SIGNATURE----- --------------enigAFA83EECC5FEBA40AED1D184--