Hi
I'm trying to use gcov. No problems building executables and running them. But when I get to running gcov, at least on one object file, gcov gets stuck in an infinite loop. I've tried running it overnight, but no sign of progress by the morning.
A few more details:
We mostly use RHEL 4.0 to 5.3. We're using GCC 4.5.1 built inhouse.
Any ideas where the problem might be? I haven't yet tried GCC 4.5.3.
Hey Paul,
it's hard to say what could be wrong without more details. Testing 4.5.3
would be indeed a good idea to check if this misbehavior has already
been fixed.
If not, you should try to get and post a stack trace of the infinite
loop, e.g. using gdb or pstack(1) ...
Which gcov options are you using, by the way?
Thanks,
Andi