[Bug target/18649] terminate called after throwing - IOT/Abort trap (core dumped)

jkj at sco dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 11 09:18:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list