I have an executable that causes /usr/bin/gprof on Redhat 6.0 Alpha to give a segmentation fault and dump core, as in /usr/bin/gprof ep.S.1.gprof The ep.S.1.gprof and gmon.out files are available in ftp://ftp.cs.arizona.edu/pub/phil. I have mail from Ian Taylor (ian) which says Jeff Law has checked in a patch to egcs which appears to fix the problem: Tue Jun 29 01:37:53 1999 Jeffery A Law (law) * expr.c (emit_block_move): Properly handle case where one of the block move arguments has a queued increment or decrement. (clear_storage): Similarly. Fix formatting goof. Let me know if i can provide additional information. Thanks. Phil Kaslo phil.edu
*** Bug 3972 has been marked as a duplicate of this bug. *** the graphic profiler gprof which is part of the binutils suite shipped with red hat 6.0 - alpha (binutils-2.9.1.0.23-4) seg faults dumping core. ------- Additional Comments From notting 07/09/99 18:31 ------- *** This bug has been marked as a duplicate of 3970 *** ------- Additional Comments From dummkopf.edu 07/09/99 19:04 ------- it seems to me that this bug is unrelated to bug 3970.
I don't see any files at ftp://ftp.cs.arizona.edu/pub/phil I'd like to see source code as well as the profiling data.
I have verified Ian's diagnosis and have uploaded egcs-1.1.2-17 which has the fix which Ian suggests. ------- Additional Comments From 08/29/99 19:23 ------- where did you upload egcs-1.1.2-17 to? i cannot find it on the rufus database since i want to fix the problem on my machine as well. thanks, helmut.
Helmut: egcs-1.1.2-19 is part of rawhide (see http://developer.redhat.com/ for general information or http://www.redhat.com/download/mirror.html for a list of mirror sites - see the rawhide directory).
egcs-1.1.2-19 still seg faults with my code when i invoke gprof on the alpha.
You need to recompile gprof (or get binutils-2.9.1.0.23-5). Also bug #4395.
cannot find the binutils-2.9.1.0.23-5 on rawhide. only ...23-4. when can i expect it to be posted there? h.
Rawhide releases happen once a week and binutils-2.9.1.0.23-5 should be in the next one.