Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>
Subject: Profiling using gprof
Date: Thu, 6 Mar 1997 11:08:07 +0800	[thread overview]
Message-ID: <fa09b4d7b713aa20cea80a78884abc8a.axp-list@archive.invalid> (raw)
In-Reply-To: <199703060651.BAA03282@max.tiac.net>

>>>>> "arthur" == Arthur Lobo <apl@max.tiac.net> writes:

 arthur> On trying to profile a run of code compiled with the RHL 4.1                           
 arthur> gcc compiler (-pg option) on my PC164 (kernel 2.1.23) I get,                           
                                                                                       
 arthur> gprof: `gmon.out' is incompatible with first gmon file                                 
                                                                                       
 arthur> Does anyone know what this means and/or how to go about                                
 arthur> profiling successfully?                                                                

How did you get gcc to compile with -pg?  I am using RH 4.0 and tried
both libc-profile from 4.1 and devel.  ld complained about
bfd assertion failed elf64-alpha.c: 2312
several times and produced a binary.  However, the binary did a
segmentation fault immediately.  The same program runs OK when linked
w/o -pg.

Regards,

	Rui-Tao Dong ~{6-HpLN~}			25591 Aria Drive
	rdong@internetMCI.com			Mission Viejo, CA  92692
	(714)457-9970(H)

--
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-03-06  3:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-06  6:51 Profiling using gprof Arthur Lobo
1997-03-06  3:08 ` Rui-Tao Dong ~{6-HpLN~} [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-03-06 20:19 Arthur Lobo
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