Date: Sun, 26 Feb 2012 21:41:07 -0600 From: Bryan Drewery <bryan@shatow.net> To: jeremie@le-hen.org, freebsd-hackers@freebsd.org Subject: re: compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally)= Message-ID: <4F4AFB53.8020503@shatow.net> References: 20101106194702.GN2392@deviant.kiev.zoral.com.ua
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4AFB53.8020503>