[ET Trac] [Einstein Toolkit] #443: Output a stack backtrace on a fatal error in a simulation
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Jul 1 03:51:09 CDT 2011
#443: Output a stack backtrace on a fatal error in a simulation
--------------------------+-------------------------------------------------
Reporter: hinder | Owner: eschnett
Type: enhancement | Status: review
Priority: major | Milestone:
Component: Carpet | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by hinder):
Try adding -rdynamic to LDFLAGS:
http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
This was necessary for me to get this to work. The patch uses
undocumented GLibC hacks, so we should test it on several exotic
architectures before applying - it might need to be disabled if certain
features are not available. There is no platform-independent or supported
way of doing this, according to Justin's comments.
We could consider adding -rdynamic by default to LDFLAGS in the flesh,
though I don't know what the consequences of this would be.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/443#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list