Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2008 15:32:35 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        kan@freebsd.org, oleg@rinet.ru, freebsd-hackers@freebsd.org
Subject:   Re: profiling broken on RELENG_7/i386
Message-ID:  <20080713153235.73eb34fd@tau>
In-Reply-To: <20080713175927.R58331@woozle.rinet.ru>
References:  <20080704121833.J35668@woozle.rinet.ru> <20080713105548.GA55221@server.vk2pj.dyndns.org> <20080713175927.R58331@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/PlfL1jC+oKtU.cy4Q98Dhjs
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 13 Jul 2008 18:01:12 +0400 (MSD)
Dmitry Morozovsky <marck@rinet.ru> wrote:

> On Sun, 13 Jul 2008, Peter Jeremy wrote:
>=20
> PJ> On 2008-Jul-04 13:01:11 +0400, Dmitry Morozovsky <marck@rinet.ru>
> PJ> wrote:
> PJ> >It seems we step on a bug in gcc in RELENG_7/i386
> PJ> >
> PJ> >It is triggered at least by profiling program which uses
> PJ> >getopt(3):
> PJ>=20
> PJ> I think it's actually in the profiling initialisation code.  If
> PJ> you try to run sample code under gdb, you can see that .mcount()
> PJ> is not preserving %ecx, though main() assumes it does.
>=20
> I see.  However, I'm afraid we need knowledge of some gcc guru to
> bring the fix in.
>=20

This is a known bug in 7.x and has apparently been fixed in -CURRENT.=20
See http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/119709 for more
details.

--=20
Bruce Cran



--Sig_/PlfL1jC+oKtU.cy4Q98Dhjs
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIehIHn4uvqcJsLfgRAkIAAKDM5Nvj+vZIaKrrzDlFKBsOCOcnYwCfThJd
omxFsec1xVgm7lxxin5WAZ4=
=g5/G
-----END PGP SIGNATURE-----

--Sig_/PlfL1jC+oKtU.cy4Q98Dhjs--



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