svn commit: r198304 - in stable/8/lib/libc: . gen stdio stdtime string sys

Alexander Kabaev kabaev at gmail.com
Sun Oct 25 02:53:16 UTC 2009


On Sun, 25 Oct 2009 11:12:31 +1100
Peter Jeremy <peterjeremy at acm.org> wrote:

> On 2009-Oct-20 19:05:43 +0000, Alexander Kabaev <kan at freebsd.org>
> wrote:
> >  Make libc.a provide __stack_chk_fail_local weak alias. This is
> >  needed to satisfy static libraries that are compiled with -fpic
> >  and linked into static binary afterwards. Several libraries in
> >  gcc are examples of such static libs.
> 
> bin/139052 discusses a related problem not addressed by r197277.
> Any chance of looking into that?
> 
> -- 
> Peter Jeremy

You are linking in a library compiled with -fstack-protector
(libgcov) and do not pass -fstack-protector when running gcc with
-fprofile-generator. Consequently, gcc does not link in necessary
libssp_nonshared.a.

Either you use stack protections or you do not. Please choose.

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20091025/2ecb4875/signature.pgp


More information about the svn-src-all mailing list