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

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

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

> On 2009-Oct-20 19:05:43 +0000, Alexander Kabaev <kan at>
> 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

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 :

More information about the svn-src-stable-8 mailing list