Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Arthur Lobo <apl@max.tiac.net>
Subject: Re: Profiling using gprof
Date: Thu, 6 Mar 1997 15:19:54 -0500 (EST)	[thread overview]
Message-ID: <78db1fb446f5f65b4dcb606c059b665c.axp-list@archive.invalid> (raw)

> 
> 
> >>>>> "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.

  I got a clean link with RHL 4.1 glibc, devel, profile (0.961212-3)
  (linked with libc.a). Running the code generates a gmon.out file,
  but gprof does not process it. If I link with libc_p.a, the
  executable is created but seg faults on running. GDB o/p:

  Program received signal SIGSEGV, Segmentation fault.
  __ieee_set_fp_control ()
      at ../sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S:29 
  ../sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S:29: No such file 
  or directory.
  Current language:  auto; currently asm

> 
> 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
> 
> 

--
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 20:19 UTC|newest]

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