This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
exceptions on sparc64 OpenBSD...
- From: Marc Espie <espie at nerim dot net>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 31 Jan 2005 14:26:34 +0100
- Subject: exceptions on sparc64 OpenBSD...
- Reply-to: espie at nerim dot net
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 ?