This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11223] dynamic_cast<> in shared library fails with SegFault when called from JNI
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2003 17:40:54 -0000
- Subject: [Bug c++/11223] dynamic_cast<> in shared library fails with SegFault when called from JNI
- References: <20030617154510.11223.mehmet.ozgul@telenity.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11223
------- Additional Comments From mueller at kde dot org 2003-09-29 17:40 -------
Subject: Re: dynamic_cast<> in shared library fails with SegFault when called from JNI
On Sunday 28 September 2003 23:17, you wrote:
> 21:17 ------- Most likely not our bug and no feedback in 2 months. There
> are reports of being able to use dynamic_cast from shared libraries so
> closing.
It is a gcc bug, as it does not work unless you use LTDL_GLOBAL, which is not
a good idea for plugins.