This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Conflict in __dynamic_cast symbol


I have a really messy problem on my hand. I have C++ application which is
compiled with gcc 3.2.1 on Linux Advanced Server 2.1. One of the libraries
is linked with the JVM library libjvm.sl. We are making use of the
dynamic_cast operator inside our code. This shows up as the symbol
__dynamic_cast in libstdc++.so. However a symbol of the same name is also
present in libjvm.sl. This causes a huge mess during runtime when the
__dynamic_cast of libjvm.sl gets invoked instead of the one in C++ runtime
lib and we get a core dump. How do we solve this issue? We cannot change the
version of the JVM

Thanks
Aveek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]