[Bug libgomp/32789] Profiling not possible with -fopenmp
jensseidel at users dot sf dot net
gcc-bugzilla@gcc.gnu.org
Tue Jul 17 11:00:00 GMT 2007
------- Comment #6 from jensseidel at users dot sf dot net 2007-07-17 11:00 -------
(In reply to comment #4)
> grpof profiling is all done via a call to mcount and mcount is controlled by
> libc (in the GNU/Linux case glibc). So I doubt this is a GCC bug.>
OK, for the record: I use OpenSuse 10.2 with glibc 2.5.
According to http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC1
mcount occurs in the gprof output but I haven't seen this yet (gprof
2.17.50.0.5).
(In reply to comment #5)
> And that is the reason why GCC added atomic builtins when openmp came
> in also. There are manuals for a reason :).
I don't understand this but it may be off topic. (Should I inform the Open MPI
people about atomic assembler locking code in gcc so that they can reuse it?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32789
More information about the Gcc-bugs
mailing list