Hi all,
I used the android NDK R5C with gnu libstdc++, rtti and exceptions
support to compile an application that uses rtti. I used the platform
Android-9. The software compiled is Gnu radio (
gnuradio.org). I have
SIGSEGV in dynamic_cast.
The exact gdb output is:
0x0036ab4a in __cxxabiv1::__dynamic_cast (src_ptr=0x3e0b80,
src_type=<value optimized out>, dst_type=0x3c9af0, src2dst=<value
optimized out>) at /tmp/ndk-digit/src/build/../gcc/gcc-4.4.3/libstdc
++-v3/libsupc++/dyncast.cc:47
47 /tmp/ndk-digit/src/build/../gcc/gcc-4.4.3/libstdc++-v3/libsupc
++/dyncast.cc: No such file or directory.
in /tmp/ndk-digit/src/build/../gcc/gcc-4.4.3/libstdc
++-v3/libsupc
++/dyncast.cc
This SIGSEGV happens hen casting big classes. I tried with small
classes
and the dynamic_cast is successful.
Is rtti fully supported by Android? Do you have experimented it in big
applications? Do you have some hints to overcome this problem?
Best regards,
Riadh.