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
signature.asc
Description: OpenPGP digital signature