Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2009 16:10:54 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-current@freebsd.org
Subject:   Stack protection breaks -fprofile-generate
Message-ID:  <20090917061054.GA48371@server.vk2pj.dyndns.org>

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

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Somewhere between early June and lastest 8.x, -fprofile-generate broke
on i386.  This looks to be related to stack protection.

$ echo 'int main() { return 0; }' > x.c
$ cc x.c
$ cc -fprofile-generate x.c        =20
/usr/lib/libgcov.a(_gcov.o)(.text+0x13df): In function `gcov_exit':
/usr/src/gnu/lib/libgcov/../../../contrib/gcc/libgcov.c:532: undefined refe=
rence to `__stack_chk_fail_local'

A friend reports that it works on amd64 from last weekend.

Has anyone else seen this?
--=20
Peter Jeremy

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkqx0u4ACgkQ/opHv/APuIcKQgCfY5euCkDdpm4SYPkHIDRKR+8y
T/AAoLlfzdfdHD6rRIj7c5d/O2n+UVOd
=1nFX
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--



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