compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to
GCC's LIB_SPEC unconditionally)=
Bryan Drewery
bryan at shatow.net
Mon Feb 27 04:07:57 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120227/e949c215/signature.pgp
More information about the freebsd-hackers
mailing list