FAILED: /aosp/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_shared
/unsorted/libc.so
prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ @/home/shiwei/aosp/out/soong/.interm
ediates/bionic/libc/libc/android_arm64_armv8-a_shared/unsorted/libc.so.rsp -Wl,--whole-archive
/home/shiwei/aosp/out/soong/.intermediates/external/jemalloc_new/libjemalloc5/android_arm64_armv
8-a_static/libjemalloc5.a /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc_jemalloc_w
rapper/android_arm64_armv8-a_static/libc_jemalloc_wrapper.a /home/shiwei/aosp/out/soong/.interme
diates/external/gwp_asan/gwp_asan/android_arm64_armv8-a_static/gwp_asan.a /home/shiwei/aosp/out/
soong/.intermediates/bionic/libc/libc_init_dynamic/android_arm64_armv8-a_static/libc_init_dynami
c.a /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc_common_shared/android_arm64_armv
8-a_static/libc_common_shared.a prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.
7/lib/linux/aarch64/libunwind-exported.a -Wl,--no-whole-archive /home/shiwei/aosp/out/soong/.in
termediates/bionic/libdl/libdl_android/android_arm64_armv8-a_static/libdl_android.a prebuilts/cl
ang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.builtins-aarch64-and
roid.a /home/shiwei/aosp/out/soong/.intermediates/bionic/linker/ld-android/android_arm64_armv8-a
_shared/ld-android.so /home/shiwei/aosp/out/soong/.intermediates/bionic/libdl/libdl/android_arm6
4_armv8-a_shared/libdl.so -o /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc/androi
d_arm64_armv8-a_shared/unsorted/libc.so -target aarch64-linux-android10000 -Bprebuilts/gcc/linux
-x86/aarch64/aarch64-linux-android-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,--exclude-libs,libgcc_stripped.a -Wl,--exclude-libs,lib
unwind_llvm.a -Wl,--exclude-libs,libunwind.a -Wl,--icf=safe -fuse-ld=lld -Wl,--pack-dyn-relocs=n
one -Wl,--no-undefined -Wl,--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,libc.so -Wl,-z,muldefs -Wl,--version-script,/home/shiwei/aosp/out/soong/.intermediates/bi
onic/libc/libc.arm64.map/gen/libc.arm64.map
ld.lld: error: version script assignment of 'LIBC' to symbol 'stpcpy' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBC' to symbol 'strcmp' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBC' to symbol 'strcpy' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBC' to symbol 'strncmp' failed: symbol not defined
@hungphan2001
FAILED: /aosp/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_shared /unsorted/libc.so prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ @/home/shiwei/aosp/out/soong/.interm ediates/bionic/libc/libc/android_arm64_armv8-a_shared/unsorted/libc.so.rsp -Wl,--whole-archive
/home/shiwei/aosp/out/soong/.intermediates/external/jemalloc_new/libjemalloc5/android_arm64_armv 8-a_static/libjemalloc5.a /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc_jemalloc_w rapper/android_arm64_armv8-a_static/libc_jemalloc_wrapper.a /home/shiwei/aosp/out/soong/.interme diates/external/gwp_asan/gwp_asan/android_arm64_armv8-a_static/gwp_asan.a /home/shiwei/aosp/out/ soong/.intermediates/bionic/libc/libc_init_dynamic/android_arm64_armv8-a_static/libc_init_dynami c.a /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc_common_shared/android_arm64_armv 8-a_static/libc_common_shared.a prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0. 7/lib/linux/aarch64/libunwind-exported.a -Wl,--no-whole-archive /home/shiwei/aosp/out/soong/.in termediates/bionic/libdl/libdl_android/android_arm64_armv8-a_static/libdl_android.a prebuilts/cl ang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/lib/linux/libclang_rt.builtins-aarch64-and roid.a /home/shiwei/aosp/out/soong/.intermediates/bionic/linker/ld-android/android_arm64_armv8-a _shared/ld-android.so /home/shiwei/aosp/out/soong/.intermediates/bionic/libdl/libdl/android_arm6 4_armv8-a_shared/libdl.so -o /home/shiwei/aosp/out/soong/.intermediates/bionic/libc/libc/androi d_arm64_armv8-a_shared/unsorted/libc.so -target aarch64-linux-android10000 -Bprebuilts/gcc/linux -x86/aarch64/aarch64-linux-android-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,--exclude-libs,libgcc_stripped.a -Wl,--exclude-libs,lib unwind_llvm.a -Wl,--exclude-libs,libunwind.a -Wl,--icf=safe -fuse-ld=lld -Wl,--pack-dyn-relocs=n one -Wl,--no-undefined -Wl,--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,libc.so -Wl,-z,muldefs -Wl,--version-script,/home/shiwei/aosp/out/soong/.intermediates/bi onic/libc/libc.arm64.map/gen/libc.arm64.map ld.lld: error: version script assignment of 'LIBC' to symbol 'stpcpy' failed: symbol not defined ld.lld: error: version script assignment of 'LIBC' to symbol 'strcmp' failed: symbol not defined ld.lld: error: version script assignment of 'LIBC' to symbol 'strcpy' failed: symbol not defined ld.lld: error: version script assignment of 'LIBC' to symbol 'strncmp' failed: symbol not defined