Making halium vbmetaimage for gta4xlwifi ERROR decWeak
-
Hi guys, I've been having problems making the vbmetaimage. When almost completing
mka vbmetaimage
it outputs this error:[ 83% 83490/99899] target SharedLib: libshim_sensorndkbridge (out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_senso FAILED: out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_sensorndkbridge.so /bin/bash -c "prebuilts/clang/host/linux-x86/clang-r353983c1/bin/clang++ -nostdlib -Wl,-soname,libshim_sensorndkbridge.so -Wl,--gc-sections -shared out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm64_armv8-a_cortex-a53_vendor/crtbegin_so.o out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/ASensorManager.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-aarch64-android.vendor_intermediates/libclang_rt.ubsan_minimal-aarch64-android.vendor.a prebuilts/clang/host/linux-x86/clang-r353983c1/lib64/clang/9.0.3/lib/linux//libclang_rt.builtins-aarch64-android.a out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/gta4xlwifi/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_stripped.a -fuse-ld=lld -Wl,--hash-style=gnu -Wl,--icf=safe -Wl,-z,max-page-size=4096 -Wl,--fix-cortex-a53-843419 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,-execute-only -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--no-undefined out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libbase.vendor_intermediates/libbase.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libsensorndkbridge_intermediates/libsensorndkbridge.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libc++.vendor_intermediates/libc++.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libc.vendor_intermediates/libc.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libm.vendor_intermediates/libm.vendor.so out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libdl.vendor_intermediates/libdl.vendor.so -o out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/LINKED/libshim_sensorndkbridge.so out/soong/.intermediates/bionic/libc/crtend_so/android_arm64_armv8-a_cortex-a53_vendor/obj/bionic/libc/arch-common/bionic/crtend_so.o" ld.lld: error: undefined symbol: android::RefBase::weakref_type::decWeak(void const*) >>> referenced by RefBase.h:536 (system/core/libutils/include/utils/RefBase.h:536) >>> out/target/product/gta4xlwifi/obj/SHARED_LIBRARIES/libshim_sensorndkbridge_intermediates/ASensorManager.o:(std::__1::__tree<android::wp<ASensorEventQueue>, std::__1::less<android::wp<ASensorEventQueue> >, std::__1::allocator<android::wp<ASensorEventQueue> > >::destroy(std::__1::__tree_node<android::wp<ASensorEventQueue>, void*>*)) clang-9: error: linker command failed with exit code 1 (use -v to see invocation) 03:41:59 ninja failed with: exit status 1 #### failed to build some targets (01:46:37 (hh:mm:ss)) ####
Any help would be much appreciated. I'm attempting to make a port to the Galaxy tab S6 Lite on Halium 10. This is my first port, so I need all the help you can give. Thanks!