Re: gprof's broken in 7-CURRENT

From: Nikos Ntarmos <ntarmos_at_ceid.upatras.gr>
Date: Fri, 30 Nov 2007 01:38:42 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Nov 29, 2007 at 08:24:52PM +0000, Luoqi Chen wrote:
> > And to think that I mentioned this problem 5-6 months ago with gcc 4.2.x 
> > and now it finally gets publicity...
> 
> Did I just hear someone volunteered to be a guinea pig?
> 
> Garrett, would you like to try out my fix? It's actually quite simple,
> 
[...]
> 
> This file is in the kernel tree, but the change only affects libc build.
> If you don't want to redo a world build, you may copy the patched profile.h
> to /usr/include/machine and "make all install" inside /usr/src/lib/libc.
> Then re-link -pg compiled code and try it out.

Hi again.

I couldn't wait for Garrett :) so I went on and tested your patch and
gprof seems to work fine for me (at least for the executables I was
interested in profiling anyway). This is i386 on a 7.0-BETA3 kernel and
7.0-BETA1 world. What are the chances for this to be committed in time
for 7.0R?

Thanks.

\n\n
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Nikos Ntarmos <ntarmos_at_ceid.upatras.gr>

iD8DBQFHT02Cm6J1ac+VFgoRAnaVAJ9n/WZY2nJU4Ym5qUFOBvg38p0lXQCfYDwT
moIVew3+UhMLXLuJGEZd6HM=
=J8RG
-----END PGP SIGNATURE-----
Received on Thu Nov 29 2007 - 22:38:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC