Bug 4395 - gprof still crashes with egcs g77 output
gprof still crashes with egcs g77 output
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: binutils (Show other bugs)
6.0
alpha Linux
low Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-06 11:49 EDT by niles
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-27 12:30:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description niles 1999-08-06 11:49:25 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.
Try:
cat "         END" > tmp.f
g77 -pg tmp.f
gprof
Segmentation fault (core dumped)

After reading Bug #3971 I'm assuming it's an egcs
problem, but it could be in gprof itself (binutils).
Comment 1 Jim Kingdon 1999-08-08 09:08:59 EDT
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
with.
As far as I know, we haven't made a fixed binutils package yet.
Comment 2 niles 1999-08-08 17:47:59 EDT
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.
Comment 3 Jim Kingdon 1999-08-27 12:30:59 EDT
Please try binutils-2.9.1.0.23-2 which should be in the next Rawhide
release.
Comment 4 Jim Kingdon 1999-08-30 13:45:59 EDT
Correction, the fixed binutils package is binutils-2.9.1.0.23-5.

Note You need to log in before you can comment on or make changes to this bug.