This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18649] terminate called after throwing - IOT/Abort trap (core dumped)
- From: "jkj at sco dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2005 09:18:47 -0000
- Subject: [Bug target/18649] terminate called after throwing - IOT/Abort trap (core dumped)
- References: <20041124154836.18649.askees@appfluent.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jkj at sco dot com 2005-08-11 09:18 -------
On UnixWare I have a very similar failure. It seems to be -fPIC that's wreaking
the havoc. I have an almost identical test case, and it aborts with:
terminate called after throwing an instance of 'int'
terminate called recursively
This only happens when compiling a2.cpp with -fPIC and producing a .so. If you
link the two together, it works fine. This was with 3.4.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18649