Profiling support

Torbjorn Granlund tg at swox.com
Tue Jan 15 23:49:18 CET 2008


Torsten Bonde Christiansen <torsten at bondechristiansen.dk> writes:

  It does pass -pg to the compiler during build (and linking) so the
  configure script does what it's supposed to do.

Good configure!

  This is testes with exactly the same settings on three different linux
  systems. A gentoo installation (64 bit), an ubuntu 7.4 (64 bit) and
  ubuntu 7.10 (32 bit).
  None of these systems are able to give me any profiling information.

Any at all?

  I'm not stating that i'm convinced i'm right, merely i just can't seem
  to figure out where i could be wrong...
  
If you add a dummy function foo() and call it at the beginning of
main(), does it show up as called once?  If not, well, I am sad to say
it, but then GMP is even more likely totally innocent.  GCC, ld, your
library, your kernel, or yourself are to blame.  :-)

(Now that GMP is used by GCC 4.3, my diatribes about GCC bugs might
backfire.  A bug in GMP might cause GCC to miscompile things, e.g.,
GMP...)

-- 
Torbjörn


More information about the gmp-bugs mailing list