exceptions on sparc64 OpenBSD...
Marc Espie
espie@nerim.net
Mon Jan 31 14:37:00 GMT 2005
I'm trying to prepare a small testcase that shows the breakage.
Basically, I'm working on an ELF dwarf2 sparc64 platform.
Basic exception support appears to work... but as soon as I throw
an object that is generated in a shared library, all hell breaks loose.
Stuff more or less shows up like this:
#0 0x000000004bafa7a0 in abort () from /usr/lib/libc.so.34.2
#1 0x000000004672cdac in __cxxabiv1::__terminate(void (*)()) ()
from /tmp/libIex.so.2.1
#2 0x000000004672ce04 in std::terminate() () from /tmp/libIex.so.2.1
#3 0x000000004672d000 in __cxa_throw () from /tmp/libIex.so.2.1
#4 0x000000000010145c in (anonymous namespace)::throwArgExc() ()
at testBaseExc2.cpp:50
#5 0x00000000001016e0 in (anonymous namespace)::test1() ()
at testBaseExc2.cpp:93
#6 0x0000000000101eb0 in testBaseExc() () at
testBaseExc2.cpp:205
does this ring a bell ? is there something obvious I'm not doing that
triggers the __cxa_throw call ?
More information about the Gcc
mailing list