cvs commit: src Makefile.inc1 src/gnu/lib Makefile
src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu
Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile
src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile
...
Peter Jeremy
peterjeremy at acm.org
Sun Oct 25 13:19:03 UTC 2009
On 2008-Jun-25 21:33:28 +0000, Ruslan Ermilov <ru at freebsd.org> wrote:
> Enable GCC stack protection (aka Propolice) for userland:
...
I realise this is very late but this seems to break profiling, at
least on i386 (see http://cakebox.homeunix.net/wordpress/?p=109 and
bin/139052). Based on a response from kan@, the problem is that
libgcov.a is built with SSP enabled but gcc defaults to SSP disabled.
r197277 added a work-around for dynamic linking but profiling implies
static linking.
IMO, it is unreasonable for an end-user to have to change compilation
flags depending on whether FreeBSD was built with or without SSP. One
solution would seem to be to embed libssp_nonshared.a into all non-
shared libraries when the world is built using SSP.
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20091025/43e90543/attachment.pgp
More information about the cvs-src
mailing list