Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2009 22:24:00 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Peter Jeremy <peterjeremy@acm.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r198304 - in stable/8/lib/libc: . gen stdio stdtime string sys
Message-ID:  <20091024222400.6575c6f6@kan.dnsalias.net>
In-Reply-To: <20091025001231.GA1817@server.vk2pj.dyndns.org>
References:  <200910201905.n9KJ5hPe075884@svn.freebsd.org> <20091025001231.GA1817@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, 25 Oct 2009 11:12:31 +1100
Peter Jeremy <peterjeremy@acm.org> wrote:

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iD8DBQFK47bFQ6z1jMm+XZYRAgKSAJ9MZvvkC1b+/zIcq+lIowx9QvD8yQCeNw06
LM+R90brsp3zglQxbhJv7uM=
=EBAD
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091024222400.6575c6f6>