Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Profiling using gprof
@ 1997-03-06 20:19 Arthur Lobo
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Lobo @ 1997-03-06 20:19 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Profiling using gprof
@ 1997-03-06  6:51 Arthur Lobo
  1997-03-06  3:08 ` Rui-Tao Dong ~{6-HpLN~}
  0 siblings, 1 reply; 3+ messages in thread
From: Arthur Lobo @ 1997-03-06  6:51 UTC (permalink / raw)


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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-03-06 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-06 20:19 Profiling using gprof Arthur Lobo
  -- strict thread matches above, loose matches on Subject: below --
1997-03-06  6:51 Arthur Lobo
1997-03-06  3:08 ` Rui-Tao Dong ~{6-HpLN~}

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