Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Linda M Rosenband <lindarosenband@hotmail.com>
Subject: problem using profiling library
Date: 2000/06/05	[thread overview]
Message-ID: <393BF9C4.40BE86FA@hotmail.com> (raw)

Hello:

I've been trying to optimize some c++ code on an Alpha running Redhat
Linux 6.2. I am using the standard g++ compiler, and the code runs fine
without profiling. Unfortunately, when I try to add profiling, the
program dumps core quite quickly, and all gdb tells me is that it is
running into heuristic fence-posts (Here are the error messages):



gdb lsim core
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alpha-redhat-linux"...

warning: "/home/linda/simulator/core": ambiguous core format, 2 handlers
match
Core was generated by `./lsim - -f mesh/inv.mesh_1mm
params/mesh_1mm.param'.
Program terminated with signal 11, Segmentation fault.

warning: Hit heuristic-fence-post without finding

warning: enclosing function for address 0x2000001fd18
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post'
command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
#0  0x2000001fd18 in ?? ()
(gdb) info stack
#0  0x2000001fd18 in ?? ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x56040000000



Does anyone have any ideas? Has anyone been able to use profiling
successfully on the Alpha?

Thanks.

Linda Rosenband
lindarosenband@hotmail.com




                 reply	other threads:[~2000-06-05  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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