Closed thanhdatpd closed 5 years ago
FAILED: /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1/android_arm_armv8-a_cortex-a53_core_shared/android.hardware.power@1.1.so prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm_armv8-a_cortex-a53_core/crtbegin_so.o @'/home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1/android_arm_armv8-a_cortex-a53_core_shared/android.hardware.power@1.1.so'.rsp /home/thanhdatpd/lineage/out/soong/.intermediates/external/libunwind_llvm/libunwind_llvm/android_arm_armv8-a_cortex-a53_core_static/libunwind_llvm.a /home/thanhdatpd/lineage/out/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/android_arm_armv8-a_cortex-a53_core_static/libcompiler_rt-extras.a /home/thanhdatpd/lineage/out/soong/.intermediates/build/soong/libatomic/android_arm_armv8-a_cortex-a53_core_static/libatomic.a /home/thanhdatpd/lineage/out/soong/.intermediates/build/soong/libgcc/android_arm_armv8-a_cortex-a53_core_static/libgcc.a /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.0/android.hardware.power@1.0/android_arm_armv8-a_cortex-a53_core_shared/android.hardware.power@1.0.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhidl/base/libhidlbase/android_arm_armv8-a_cortex-a53_core_shared/libhidlbase.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhidl/transport/libhidltransport/android_arm_armv8-a_cortex-a53_core_shared/libhidltransport.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhwbinder/libhwbinder/android_arm_armv8-a_cortex-a53_core_shared/libhwbinder.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/liblog/liblog/android_arm_armv8-a_cortex-a53_core_shared/liblog.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/libutils/libutils/android_arm_armv8-a_cortex-a53_core_shared/libutils.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/libcutils/libcutils/android_arm_armv8-a_cortex-a53_core_shared/libcutils.so /home/thanhdatpd/lineage/out/soong/.intermediates/external/libcxx/libc++/android_arm_armv8-a_cortex-a53_core_shared/libc++.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/libc/android_arm_armv8-a_cortex-a53_core_shared/libc.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libm/libm/android_arm_armv8-a_cortex-a53_core_shared/libm.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libdl/libdl/android_arm_armv8-a_cortex-a53_core_shared/libdl.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/crtend_so/android_arm_armv8-a_cortex-a53_core/obj/bionic/libc/arch-common/bionic/crtend_so.o -o '/home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1/android_arm_armv8-a_cortex-a53_core_shared/android.hardware.power@1.1.so' -nostdlib -Wl,--gc-sections -shared -Wl,-soname,android.hardware.power@1.1.so -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/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,--no-undefined -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,-m,armelf -Wl,--exclude-libs,libunwind_llvm.a prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/lib/linux/libclang_rt.ubsan_minimal-arm-android.a -Wl,--exclude-libs,libclang_rt.ubsan_minimal-arm-android.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1/android_arm_armv8-a_cortex-a53_core_static/obj/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1_genc++/gen/android/hardware/power/1.1/types.o: file is empty out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1_genc++/gen/android/hardware/power/1.1/PowerAll.cpp:188: error: undefined reference to 'android::hardware::power::V1_1::readEmbeddedFromParcel(android::hardware::power::V1_1::PowerStateSubsystem const&, android::hardware::Parcel const&, unsigned int, unsigned int)' out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1_genc++/gen/android/hardware/power/1.1/PowerAll.cpp:452: error: undefined reference to 'android::hardware::power::V1_1::writeEmbeddedToParcel(android::hardware::power::V1_1::PowerStateSubsystem const&, android::hardware::Parcel*, unsigned int, unsigned int)' clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
crazy, delete 1.1 and 1.2 will fix that error @@
thanhdatpd@Notebook:~/lineage$ prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm64_armv8-a_core/crtbegin_so.o @'/home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.2/android.hardware.power@1.2/android_arm64_armv8-a_core_shared/android.hardware.power@1.2.so'.rsp /home/thanhdatpd/lineage/out/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/android_arm64_armv8-a_core_static/libcompiler_rt-extras.a /home/thanhdatpd/lineage/out/soong/.intermediates/build/soong/libatomic/android_arm64_armv8-a_core_static/libatomic.a /home/thanhdatpd/lineage/out/soong/.intermediates/build/soong/libgcc/android_arm64_armv8-a_core_static/libgcc.a /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.0/android.hardware.power@1.0/android_arm64_armv8-a_core_shared/android.hardware.power@1.0.so /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.1/android.hardware.power@1.1/android_arm64_armv8-a_core_shared/android.hardware.power@1.1.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhidl/base/libhidlbase/android_arm64_armv8-a_core_shared/libhidlbase.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhidl/transport/libhidltransport/android_arm64_armv8-a_core_shared/libhidltransport.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/libhwbinder/libhwbinder/android_arm64_armv8-a_core_shared/libhwbinder.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/liblog/liblog/android_arm64_armv8-a_core_shared/liblog.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/libutils/libutils/android_arm64_armv8-a_core_shared/libutils.so /home/thanhdatpd/lineage/out/soong/.intermediates/system/core/libcutils/libcutils/android_arm64_armv8-a_core_shared/libcutils.so /home/thanhdatpd/lineage/out/soong/.intermediates/external/libcxx/libc++/android_arm64_armv8-a_core_shared/libc++.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_core_shared/libc.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libm/libm/android_arm64_armv8-a_core_shared/libm.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libdl/libdl/android_arm64_armv8-a_core_shared/libdl.so /home/thanhdatpd/lineage/out/soong/.intermediates/bionic/libc/crtend_so/android_arm64_armv8-a_core/obj/bionic/libc/arch-common/bionic/crtend_so.o -o '/home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.2/android.hardware.power@1.2/android_arm64_armv8-a_core_shared/android.hardware.power@1.2.so' -nostdlib -Wl,--gc-sections -shared -Wl,-soname,android.hardware.power@1.2.so -target aarch64-linux-android -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,--no-undefined -Wl,-m,aarch64_elf64_le_vec -Wl,--hash-style=gnu -fuse-ld=gold -Wl,--icf=safe prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/lib/linux/libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: /home/thanhdatpd/lineage/out/soong/.intermediates/hardware/interfaces/power/1.2/android.hardware.power@1.2/android_arm64_armv8-a_core_static/obj/.intermediates/hardware/interfaces/power/1.2/android.hardware.power@1.2_genc++/gen/android/hardware/power/1.2/types.o: file is empty clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)