Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephan Schroepfer <scr@iis.fhg.de>
Subject: Re: profiling in GCC
Date: Wed, 23 Jul 1997 11:09:30 +0200	[thread overview]
Message-ID: <33D5CA4A.41C67EA6@iis.fhg.de> (raw)

Richard Holmes wrote:
> 
> Hello,
> 
> I want to use gprof on an executable, but I'm having some trouble.  Perhaps
> someone can give me some advice.
> 
> I compiled my program using gcc 2.7.2.1 with the -pg flag and made sure
> I linked in all the right libraries (I think), such as libm_p rather
> than libm.  What happens is that as soon as I start my program I get
> a "segmentation violation", which doesn't happen if I compile without the
> -pg flag.

If you are using RH4.1, see

http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0463.html

for a fix for gprof in binutils-2.7 relative to the Red Hat 4.1
binutils RPM
and

http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0464.html

for a fix for three object files in libc_p.a both posted by
David Mosberger-Tang (davidm@azstarnet.com).

If you are using RH4.2, it would be nice if you could let me know
that (sorry, I currently don't have access to my Alpha, so I'm not
able to compare version numbers of 'my' RPMS).

Stefan Schroepfer,
scr@iis.fhg.de

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-07-23  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-23  9:09 Stephan Schroepfer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-07-23 20:05 profiling in GCC Richard Holmes
1997-07-23  8:18 Richard Holmes
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox