Hey, guys.
I'm working on Chromium for Android fork with some built-in functionality.
For this i need to build V8 as shared library even for Release build (by default V8 parts are compiled as shared libraries for Debug build and as source sets for Release build) as some other library have to be linked to V8 shared library.
to force compile shared library in Release build.
#00 pc 0003c9d0 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
#01 pc 00001a8d /system/bin/linker (__dl__ZN6soinfo12CallFunctionEPKcPFvvE+44)
#02 pc 00001b61 /system/bin/linker (__dl__ZN6soinfo9CallArrayEPKcPPFvvEjb+140)
#03 pc 00001e41 /system/bin/linker (__dl__ZN6soinfo16CallConstructorsEv+144)
#04 pc 00002495 /system/bin/linker (__dl__Z9do_dlopenPKciPK17android_dlextinfo+136)
#05 pc 00000ea1 /system/bin/linker (__dl__ZL10dlopen_extPKciPK17android_dlextinfo+24)
#06 pc 001d4297 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+502)
#07 pc 001fc2e9 /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+548)
#08 pc 00019811 /system/framework/arm/boot.oat
stack:
9fdfacb0 00120025 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdfacb4 00000000
9fdfacb8 ffffffff
9fdfacbc af5400c0 [anon:libc_malloc]
9fdfacc0 00000029
9fdfacc4 464c457f /dev/ashmem/dalvik-main space (deleted)
9fdfacc8 00010101 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdfaccc 00000000
9fdfacd0 00000000
9fdfacd4 00280003
9fdfacd8 00000001
9fdfacdc 00000000
9fdface0 00000034
9fdface4 00123940 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdface8 05000200
9fdfacec 00200034
9fdfacf0 00280009
9fdfacf4 001b001c
9fdfacf8 00000009
9fdfacfc b461e000
9fdfad00 b461e034
9fdfad04 00001000
9fdfad08 00008000 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdfad0c 00126000 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdfad10 00004000
9fdfad14 00008034 /data/app/org.chromium.chrome-1/lib/arm/libadblockplus-jni.so
9fdfad18 afc49644 [anon:linker_alloc]
9fdfad1c b6fb4c0f /system/bin/linker
9fdfad20 00000001
9fdfad24 00000000
9fdfad28 afc49644 [anon:linker_alloc]
9fdfad2c b6facb65 /system/bin/linker (__dl__ZN
What can be the reason? In Debug build it works as expected (and works).