You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
On some Android device, there is libv8.so in system ROM.
E.g. /system/lib/libv8.so or /vendor/lib/libv8.so
On old Android, dlopen() with RTLD_GLOBAL is not handled well and it's by default RTLD_LOCAL.
Even we call System.loadLibrary("v8") before,
during the time RNV8 call System.loadLibrary("v8executor") and search libv8.so in DT_NEEDED.
It seems bionic linker will use system libv8.so instead of ours.
Since our libv8.so is customized with libplatform.so, this leads to unresolved symbol as
#29.
That's why I am proposing to rename libv8.so as libv8android.so and to prevent name conflict from system libv8.so.
Reference for RTLD_GLOBAL: android/ndk#201
(cherry picked from commit 5a78dd5)
0 commit comments