* problem using profiling library
@ 2000-06-05 4:00 Linda M Rosenband
0 siblings, 0 replies; only message in thread
From: Linda M Rosenband @ 2000-06-05 4:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-06-05 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-05 4:00 problem using profiling library Linda M Rosenband
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox