Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 4395

Summary: gprof still crashes with egcs g77 output
Product: [Retired] Red Hat Linux Reporter: niles
Component: binutilsAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: law
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-27 16:30:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description niles 1999-08-06 15:49:25 UTC
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 13:08:59 UTC
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 21:47:59 UTC
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 16:30:59 UTC
Please try binutils-2.9.1.0.23-2 which should be in the next Rawhide
release.

Comment 4 Jim Kingdon 1999-08-30 17:45:59 UTC
Correction, the fixed binutils package is binutils-2.9.1.0.23-5.