[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    re: compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally)=
From:       Bryan Drewery <bryan () shatow ! net>
Date:       2012-02-27 3:41:07
Message-ID: 4F4AFB53.8020503 () shatow ! net
[Download RAW message or body]


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




["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic