Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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.html
[2] http://gcc.gnu.org/ml/gcc-help/2006-05/msg00092.html




[-- Attachment #2 --]
-----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-----

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