Paste Search Dynamic
Recent pastes
android-12 r2 error undefined
  1.  
  2. [android-building] Android 12 Released
  3. 'del...@google.com' via Android Building
  4. Hi all, Android 12 source code is now available for the following builds: - SP1A.210812.015, android-12.0.0_r1 - SP1A.210812.016, android-12.0.0_r2...
  5. V
  6. Varun Kumar
  7. kam: android-building
  8. pirms 17 stundāmInformācija
  9. Hi,
  10.  
  11. I am trying to build android 12 android-12.0.0_r2 but getting the following error.May I know why this is coming. I am stuck here and did not get the exact pain point.
  12. LATFORM_VERSION_CODENAME=REL
  13. PLATFORM_VERSION=12
  14. TARGET_PRODUCT=aosp_arm64
  15. TARGET_BUILD_VARIANT=eng
  16. TARGET_BUILD_TYPE=release
  17. TARGET_ARCH=arm64
  18. TARGET_ARCH_VARIANT=armv8-a
  19. TARGET_CPU_VARIANT=generic
  20. TARGET_2ND_ARCH=arm
  21. TARGET_2ND_ARCH_VARIANT=armv8-a
  22. TARGET_2ND_CPU_VARIANT=generic
  23. HOST_ARCH=x86_64
  24. HOST_2ND_ARCH=x86
  25. HOST_OS=linux
  26. HOST_OS_EXTRA=Linux-5.11.0-37-generic-x86_64-Ubuntu-20.04.3-LTS
  27. HOST_CROSS_OS=windows
  28. HOST_CROSS_ARCH=x86
  29. HOST_CROSS_2ND_ARCH=x86_64
  30. HOST_BUILD_TYPE=release
  31. BUILD_ID=SP1A.210812.016
  32. OUT_DIR=out
  33. PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera
  34.  
  35. [android-building] Android 12 Released
  36. 'del...@google.com' via Android Building
  37. Hi all, Android 12 source code is now available for the following builds: - SP1A.210812.015, android-12.0.0_r1 - SP1A.210812.016, android-12.0.0_r2...
  38. V
  39. Varun Kumar
  40. kam: android-building
  41. pirms 17 stundāmInformācija
  42. Hi,
  43.  
  44. I am trying to build android 12 android-12.0.0_r2 but getting the following error.May I know why this is coming. I am stuck here and did not get the exact pain point.
  45. LATFORM_VERSION_CODENAME=REL
  46. PLATFORM_VERSION=12
  47. TARGET_PRODUCT=aosp_arm64
  48. TARGET_BUILD_VARIANT=eng
  49. TARGET_BUILD_TYPE=release
  50. TARGET_ARCH=arm64
  51. TARGET_ARCH_VARIANT=armv8-a
  52. TARGET_CPU_VARIANT=generic
  53. TARGET_2ND_ARCH=arm
  54. TARGET_2ND_ARCH_VARIANT=armv8-a
  55. TARGET_2ND_CPU_VARIANT=generic
  56. HOST_ARCH=x86_64
  57. HOST_2ND_ARCH=x86
  58. HOST_OS=linux
  59. HOST_OS_EXTRA=Linux-5.11.0-37-generic-x86_64-Ubuntu-20.04.3-LTS
  60. HOST_CROSS_OS=windows
  61. HOST_CROSS_ARCH=x86
  62. HOST_CROSS_2ND_ARCH=x86_64
  63. HOST_BUILD_TYPE=release
  64. BUILD_ID=SP1A.210812.016
  65. OUT_DIR=out
  66. PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera
  67. ============================================
  68. [  0% 1/386] //system/libhidl:libhidlbase link libhidlbase.so [arm]
  69. FAILED: out/soong/.intermediates/system/libhidl/libhidlbase/android_arm_armv8-a_shared/unstripped/libhidlbase.so
  70. prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm_armv8-a/crtbegin_so.o @out/soong/.intermediates/system/libhidl/libhidlbase/android_ar
  71. m_armv8-a_shared/unstripped/libhidlbase.so.rsp prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.ubsan_minimal-arm-android.a -Wl,--whole-archive  out/soong/.intermedia
  72. tes/system/libhwbinder/libhwbinder-impl-internal/android_arm_armv8-a_static/libhwbinder-impl-internal.a -Wl,--no-whole-archive  out/soong/.intermediates/system/libhwbinder/libhwbinder-impl-internal/android
  73. _arm_armv8-a_static/libhwbinder-impl-internal.a out/soong/.intermediates/external/libcxxabi/libc++demangle/android_arm_armv8-a_static/libc++demangle.a prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/c
  74. lang/12.0.7/lib/linux/libclang_rt.builtins-arm-android.a out/soong/.intermediates/system/libbase/libbase/android_arm_armv8-a_shared/libbase.so out/soong/.intermediates/system/logging/liblog/liblog/android_
  75. arm_armv8-a_shared/liblog.so out/soong/.intermediates/system/core/libutils/libutils/android_arm_armv8-a_shared/libutils.so out/soong/.intermediates/system/core/libcutils/libcutils/android_arm_armv8-a_share
  76. d/libcutils.so out/soong/.intermediates/system/core/libvndksupport/libvndksupport/android_arm_armv8-a_shared/libvndksupport.so out/soong/.intermediates/external/libcxx/libc++/android_arm_armv8-a_shared/lib
  77. c++.so out/soong/.intermediates/bionic/libc/libc/android_arm_armv8-a_shared_current/libc.so out/soong/.intermediates/bionic/libm/libm/android_arm_armv8-a_shared_current/libm.so out/soong/.intermediates/bio
  78. nic/libdl/libdl/android_arm_armv8-a_shared_current/libdl.so out/soong/.intermediates/bionic/libc/crtend_so/android_arm_armv8-a/obj/bionic/libc/arch-common/bionic/crtend_so.o -o out/soong/.intermediates/sys
  79. tem/libhidl/libhidlbase/android_arm_armv8-a_shared/unstripped/libhidlbase.so -target armv7a-linux-androideabi29 -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,-z,noex
  80. ecstack -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 -Wl,--exclude-l
  81. ibs,libunwind_llvm.a -Wl,--exclude-libs,libunwind.a -Wl,--icf=safe -fuse-ld=lld -Wl,--pack-dyn-relocs=android+relr -Wl,--use-android-relr-tags -Wl,--no-undefined -Wl,--hash-style=gnu -Wl,-m,armelf -Wl,--ex
  82. clude-libs=libclang_rt.builtins-arm-android.a  -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libhidlbase.so prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.ubsan_m
  83. inimal-arm-android.a -Wl,--exclude-libs,libclang_rt.ubsan_minimal-arm-android.a -Wl,--exclude-libs,libclang_rt.ubsan_minimal-arm-android.a
  84. ld.lld: error: out/soong/.intermediates/system/libhwbinder/libhwbinder-impl-internal/android_arm_armv8-a_static/libhwbinder-impl-internal.a(Binder.o): not an ELF file
  85. clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
  86. [  0% 2/386] //system/libhidl:libhidlbase link libhidlbase.so
  87. FAILED: out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_shared/unstripped/libhidlbase.so
  88. prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm64_armv8-a/crtbegin_so.o @out/soong/.intermediates/system/libhidl/libhidlbase/android_
  89. arm64_armv8-a_shared/unstripped/libhidlbase.so.rsp prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--whole-archive  out/soong/.in
  90. termediates/system/libhwbinder/libhwbinder-impl-internal/android_arm64_armv8-a_static/libhwbinder-impl-internal.a -Wl,--no-whole-archive  out/soong/.intermediates/system/libhwbinder/libhwbinder-impl-intern
  91. al/android_arm64_armv8-a_static/libhwbinder-impl-internal.a out/soong/.intermediates/external/libcxxabi/libc++demangle/android_arm64_armv8-a_static/libc++demangle.a prebuilts/clang/host/linux-x86/clang-r41
  92. 6183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.builtins-aarch64-android.a out/soong/.intermediates/system/libbase/libbase/android_arm64_armv8-a_shared/libbase.so out/soong/.intermediates/system/logging/li
  93. blog/liblog/android_arm64_armv8-a_shared/liblog.so out/soong/.intermediates/system/core/libutils/libutils/android_arm64_armv8-a_shared/libutils.so out/soong/.intermediates/system/core/libcutils/libcutils/a
  94. ndroid_arm64_armv8-a_shared/libcutils.so out/soong/.intermediates/system/core/libvndksupport/libvndksupport/android_arm64_armv8-a_shared/libvndksupport.so out/soong/.intermediates/external/libcxx/libc++/an
  95. droid_arm64_armv8-a_shared/libc++.so out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_shared_current/libc.so out/soong/.intermediates/bionic/libm/libm/android_arm64_armv8-a_shared_current/li
  96. bm.so out/soong/.intermediates/bionic/libdl/libdl/android_arm64_armv8-a_shared_current/libdl.so out/soong/.intermediates/bionic/libc/crtend_so/android_arm64_armv8-a/obj/bionic/libc/arch-common/bionic/crten
  97. d_so.o -o out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_shared/unstripped/libhidlbase.so -target aarch64-linux-android29 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-
  98. 4.9/aarch64-linux-android/bin -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,--exclu
  99. de-libs,libgcc_stripped.a -Wl,--exclude-libs,libunwind_llvm.a -Wl,--exclude-libs,libunwind.a -Wl,--icf=safe -fuse-ld=lld -Wl,--pack-dyn-relocs=android+relr -Wl,--use-android-relr-tags -Wl,--no-undefined -W
  100. l,--hash-style=gnu -Wl,-z,separate-code -Wl,-z,max-page-size=4096  -Wl,--exclude-libs=libclang_rt.builtins-aarch64-android.a  -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libhidlbase.so prebuilts/clang/
  101. host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--exclude-libs,libclang_rt.ubsan_m
  102. inimal-aarch64-android.a
  103. ld.lld: error: undefined symbol: android::hardware::Parcel::readNullableEmbeddedNativeHandle(unsigned long, unsigned long, native_handle const**) const
  104. >>> referenced by HidlBinderSupport.cpp:62 (system/libhidl/transport/HidlBinderSupport.cpp:62)
  105. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readEmbeddedFromParcel(android::hardw
  106. are::hidl_handle const&, android::hardware::Parcel const&, unsigned long, unsigned long))
  107. >>> referenced by HidlBinderSupport.cpp:89 (system/libhidl/transport/HidlBinderSupport.cpp:89)
  108. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readEmbeddedFromParcel(android::hardw
  109. are::hidl_memory const&, android::hardware::Parcel const&, unsigned long, unsigned long))
  110.  
  111. ld.lld: error: undefined symbol: android::hardware::Parcel::writeEmbeddedNativeHandle(native_handle const*, unsigned long, unsigned long)
  112. >>> referenced by HidlBinderSupport.cpp:72 (system/libhidl/transport/HidlBinderSupport.cpp:72)
  113. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeEmbeddedToParcel(android::hardwa
  114. re::hidl_handle const&, android::hardware::Parcel*, unsigned long, unsigned long))
  115. >>> referenced by HidlBinderSupport.cpp:117 (system/libhidl/transport/HidlBinderSupport.cpp:117)
  116. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeEmbeddedToParcel(android::hardwa
  117. re::hidl_memory const&, android::hardware::Parcel*, unsigned long, unsigned long))
  118.  
  119. ld.lld: error: undefined symbol: android::hardware::Parcel::readEmbeddedBuffer(unsigned long, unsigned long*, unsigned long, unsigned long, void const**) const
  120. >>> referenced by HidlBinderSupport.cpp:139 (system/libhidl/transport/HidlBinderSupport.cpp:139)
  121. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readEmbeddedFromParcel(android::hardw
  122. are::hidl_memory const&, android::hardware::Parcel const&, unsigned long, unsigned long))
  123. >>> referenced by HidlBinderSupport.cpp:139 (system/libhidl/transport/HidlBinderSupport.cpp:139)
  124. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readEmbeddedFromParcel(android::hardw
  125. are::hidl_string const&, android::hardware::Parcel const&, unsigned long, unsigned long))
  126.  
  127. ld.lld: error: undefined symbol: android::hardware::Parcel::writeEmbeddedBuffer(void const*, unsigned long, unsigned long*, unsigned long, unsigned long)
  128. >>> referenced by HidlBinderSupport.cpp:161 (system/libhidl/transport/HidlBinderSupport.cpp:161)
  129. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeEmbeddedToParcel(android::hardwa
  130. re::hidl_memory const&, android::hardware::Parcel*, unsigned long, unsigned long))
  131. >>> referenced by HidlBinderSupport.cpp:161 (system/libhidl/transport/HidlBinderSupport.cpp:161)
  132. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeEmbeddedToParcel(android::hardwa
  133. re::hidl_string const&, android::hardware::Parcel*, unsigned long, unsigned long))
  134. >>> referenced by HidlBinderSupport.h:107 (system/libhidl/transport/include/hidl/HidlBinderSupport.h:107)
  135. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  136. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::writeEmbeddedToParcel(android::hidl::manager::V1_0::IServiceManager::InstanceDebugInfo const&, android::hardware::Parcel*, unsigned long, unsig
  137. ned long))
  138. >>> referenced 9 more times
  139.  
  140. ld.lld: error: undefined symbol: android::hardware::Parcel::readInt32(int*) const
  141. >>> referenced by HidlBinderSupport.cpp:171 (system/libhidl/transport/HidlBinderSupport.cpp:171)
  142. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readFromParcel(android::hardware::Sta
  143. tus*, android::hardware::Parcel const&))
  144.  
  145. ld.lld: error: undefined symbol: android::hardware::Parcel::readString16(android::String16*) const
  146. >>> referenced by HidlBinderSupport.cpp:184 (system/libhidl/transport/HidlBinderSupport.cpp:184)
  147. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::readFromParcel(android::hardware::Sta
  148. tus*, android::hardware::Parcel const&))
  149.  
  150. ld.lld: error: undefined symbol: android::hardware::Parcel::writeInt32(int)
  151. >>> referenced by HidlBinderSupport.cpp:202 (system/libhidl/transport/HidlBinderSupport.cpp:202)
  152. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeToParcel(android::hardware::Stat
  153. us const&, android::hardware::Parcel*))
  154.  
  155. ld.lld: error: undefined symbol: android::hardware::Parcel::writeString16(android::String16 const&)
  156. >>> referenced by HidlBinderSupport.cpp:208 (system/libhidl/transport/HidlBinderSupport.cpp:208)
  157. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::writeToParcel(android::hardware::Stat
  158. us const&, android::hardware::Parcel*))
  159.  
  160. ld.lld: error: undefined symbol: android::hardware::ProcessState::self()
  161. >>> referenced by HidlBinderSupport.cpp:277 (system/libhidl/transport/HidlBinderSupport.cpp:277)
  162. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::configureBinderRpcThreadpool(unsigned
  163.  long, bool))
  164. >>> referenced by ServiceManagement.cpp:228 (system/libhidl/transport/ServiceManagement.cpp:228)
  165. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/ServiceManagement.o:(android::hardware::defaultServiceManager1_2())
  166. >>> referenced by ServiceManagerAll.cpp:358 (out/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/manager/1.0/ServiceManagerAll.cpp:358)
  167. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  168. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::BpHwServiceManager::_hidl_add(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::hardware::hidl_string con
  169. st&, android::sp<android::hidl::base::V1_0::IBase> const&))
  170. >>> referenced 13 more times
  171.  
  172. ld.lld: error: undefined symbol: android::hardware::ProcessState::setThreadPoolConfiguration(unsigned long, bool)
  173. >>> referenced by HidlBinderSupport.cpp:277 (system/libhidl/transport/HidlBinderSupport.cpp:277)
  174. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::configureBinderRpcThreadpool(unsigned
  175.  long, bool))
  176.  
  177. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::self()
  178. >>> referenced by HidlBinderSupport.cpp:287 (system/libhidl/transport/HidlBinderSupport.cpp:287)
  179. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::joinBinderRpcThreadpool())
  180. >>> referenced by HidlBinderSupport.cpp:292 (system/libhidl/transport/HidlBinderSupport.cpp:292)
  181. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::setupBinderPolling())
  182. >>> referenced by HidlBinderSupport.cpp:300 (system/libhidl/transport/HidlBinderSupport.cpp:300)
  183. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::handleBinderPoll())
  184. >>> referenced 2 more times
  185.  
  186. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::joinThreadPool(bool)
  187. >>> referenced by HidlBinderSupport.cpp:287 (system/libhidl/transport/HidlBinderSupport.cpp:287)
  188. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::joinBinderRpcThreadpool())
  189.  
  190. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::setupPolling(int*)
  191. >>> referenced by HidlBinderSupport.cpp:292 (system/libhidl/transport/HidlBinderSupport.cpp:292)
  192. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::setupBinderPolling())
  193.  
  194. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::handlePolledCommands()
  195. >>> referenced by HidlBinderSupport.cpp:300 (system/libhidl/transport/HidlBinderSupport.cpp:300)
  196. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::handleBinderPoll())
  197.  
  198. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::addPostCommandTask(std::__1::function<void ()> const&)
  199. >>> referenced by HidlBinderSupport.cpp:304 (system/libhidl/transport/HidlBinderSupport.cpp:304)
  200. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/HidlBinderSupport.o:(android::hardware::addPostCommandTask(std::__1::function
  201. <void ()>))
  202.  
  203. ld.lld: error: undefined symbol: android::hardware::ProcessState::getContextObject(android::sp<android::hardware::IBinder> const&)
  204. >>> referenced by ServiceManagement.cpp:228 (system/libhidl/transport/ServiceManagement.cpp:228)
  205. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/ServiceManagement.o:(android::hardware::defaultServiceManager1_2())
  206.  
  207. ld.lld: error: undefined symbol: android::hardware::IPCThreadState::isOnlyBinderThread()
  208. >>> referenced by ServiceManagement.cpp:595 (system/libhidl/transport/ServiceManagement.cpp:595)
  209. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/system/libhidl/transport/ServiceManagement.o:(android::hardware::details::Waiter::onFirstRef())
  210.  
  211. ld.lld: error: undefined symbol: android::hardware::Parcel::readNullableEmbeddedBuffer(unsigned long, unsigned long*, unsigned long, unsigned long, void const**) const
  212. >>> referenced by HidlBinderSupport.h:92 (system/libhidl/transport/include/hidl/HidlBinderSupport.h:92)
  213. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  214. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::readEmbeddedFromParcel(android::hidl::manager::V1_0::IServiceManager::InstanceDebugInfo const&, android::hardware::Parcel const&, unsigned long
  215. , unsigned long))
  216. >>> referenced by HidlBinderSupport.h:92 (system/libhidl/transport/include/hidl/HidlBinderSupport.h:92)
  217. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  218. anager/1.0/ServiceManagerAll.o:(std::__1::__function::__func<android::hidl::manager::V1_0::BpHwServiceManager::_hidl_list(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, std:
  219. :__1::function<void (android::hardware::hidl_vec<android::hardware::hidl_string> const&)>)::$_5, std::__1::allocator<android::hidl::manager::V1_0::BpHwServiceManager::_hidl_list(android::hardware::IInterfa
  220. ce*, android::hardware::details::HidlInstrumentor*, std::__1::function<void (android::hardware::hidl_vec<android::hardware::hidl_string> const&)>)::$_5>, void (android::hardware::Parcel&)>::operator()(andr
  221. oid::hardware::Parcel&))
  222. >>> referenced by HidlBinderSupport.h:92 (system/libhidl/transport/include/hidl/HidlBinderSupport.h:92)
  223. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  224. anager/1.0/ServiceManagerAll.o:(std::__1::__function::__func<android::hidl::manager::V1_0::BpHwServiceManager::_hidl_listByInterface(android::hardware::IInterface*, android::hardware::details::HidlInstrume
  225. ntor*, android::hardware::hidl_string const&, std::__1::function<void (android::hardware::hidl_vec<android::hardware::hidl_string> const&)>)::$_6, std::__1::allocator<android::hidl::manager::V1_0::BpHwServ
  226. iceManager::_hidl_listByInterface(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::hardware::hidl_string const&, std::__1::function<void (android::hardware::hidl_vec<
  227. android::hardware::hidl_string> const&)>)::$_6>, void (android::hardware::Parcel&)>::operator()(android::hardware::Parcel&))
  228. >>> referenced 7 more times
  229.  
  230. ld.lld: error: undefined symbol: android::hardware::IInterface::IInterface()
  231. >>> referenced by IInterface.h:48 (system/libhwbinder/include/hwbinder/IInterface.h:48)
  232. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  233. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::BpHwServiceManager::BpHwServiceManager(android::sp<android::hardware::IBinder> const&))
  234. >>> referenced by IInterface.h:48 (system/libhwbinder/include/hwbinder/IInterface.h:48)
  235. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  236. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::BpHwServiceManager::BpHwServiceManager(android::sp<android::hardware::IBinder> const&))
  237. >>> referenced by IInterface.h:48 (system/libhwbinder/include/hwbinder/IInterface.h:48)
  238. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  239. anager/1.0/ServiceNotificationAll.o:(android::hidl::manager::V1_0::BpHwServiceNotification::BpHwServiceNotification(android::sp<android::hardware::IBinder> const&))
  240. >>> referenced 9 more times
  241.  
  242. ld.lld: error: undefined symbol: android::hardware::BpHwRefBase::BpHwRefBase(android::sp<android::hardware::IBinder> const&)
  243. >>> referenced by IInterface.h:60 (system/libhwbinder/include/hwbinder/IInterface.h:60)
  244. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  245. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::BpHwServiceManager::BpHwServiceManager(android::sp<android::hardware::IBinder> const&))
  246. >>> referenced by IInterface.h:60 (system/libhwbinder/include/hwbinder/IInterface.h:60)
  247. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  248. anager/1.0/ServiceManagerAll.o:(android::hidl::manager::V1_0::BpHwServiceManager::BpHwServiceManager(android::sp<android::hardware::IBinder> const&))
  249. >>> referenced by IInterface.h:60 (system/libhwbinder/include/hwbinder/IInterface.h:60)
  250. >>>               out/soong/.intermediates/system/libhidl/libhidlbase/android_arm64_armv8-a_static/obj/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++/gen/android/hidl/m
  251. anager/1.0/ServiceNotificationAll.o:(android::hidl::manager::V1_0::BpHwServiceNotification::BpHwServiceNotification(android::sp<android::hardware::IBinder> const&))
  252. >>> referenced 9 more times
  253.  
  254. ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
  255. clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
  256. 16:48:53 ninja failed with: exit status 1
  257.  
  258. #### failed to build some targets (26 seconds) ####
  259.  
Parsed in 0.022 seconds