Red Hat Bugzilla – Bug 4395
gprof still crashes with egcs g77 output
Last modified: 2008-05-01 11:37:51 EDT
With obvious similarity with Bug #3971...
Even after upgrading all the egcs-1.1.2-17 packages
with contained Jeff Law's patches...
gprof will core dump on ANY g77 compiled FORTRAN.
cat " END" > tmp.f
g77 -pg tmp.f
Segmentation fault (core dumped)
After reading Bug #3971 I'm assuming it's an egcs
problem, but it could be in gprof itself (binutils).
One needs to compile gprof (binutils) with egcs 1.1.2-17.
Or in other words, it doesn't matter (for this bug) what
your program is compiled with, just what gprof was compiled
As far as I know, we haven't made a fixed binutils package yet.
Agreed, once I re-built the binutils package using the new
egcs; gprof started worked fine. So probably mark this as
a duplicate of Bug #3971 and close it. But, you really should
release a new binary of binutils.
Please try binutils-18.104.22.168.23-2 which should be in the next Rawhide
Correction, the fixed binutils package is binutils-22.214.171.124.23-5.