[Android Software/Hacking General [Developers Only]] fKm:
Hey [MENTION=5051294]frap129[/MENTION] and [MENTION=2699658]xanaxdroid[/MENTION]

I am trying to build Pixeldust ROM for my taimen device with Dragon-TC 7.0 prebuilt by xanaxdroid. It goes well till something around 85% but then I get this error:

[ 0% 21/15135] //external/libjpeg-turbo:libjpeg link libjpeg.so [arm]
FAILED: /root/android/pixeldust/out/soong/.intermediates/external/libjpeg-turbo/libjpeg/android_arm_armv8-a_cortex-a73_shared_vendor/libjpeg.so
prebuilts/clang/host/linux-x86/7.0/bin/clang++ /root/android/pixeldust/out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm_armv8-a_cortex-a73_vendor/crtbegin_so.o @/root/android/pixeldust/out/soong/.intermediates/external/libjpeg-turbo/libjpeg/android_arm_armv8-a_cortex-a73_shared_vendor/libjpeg.so.rsp /root/android/pixeldust/out/soong/.intermediates/external/libunwind_llvm/libunwind_llvm/android_arm_armv8-a_cortex-a73_static_vendor_lto-thin/libunwind_llvm.a /root/android/pixeldust/out/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/android_arm_armv8-a_cortex-a73_static_vendor_lto-thin/libcompiler_rt-extras.a /root/android/pixeldust/out/soong/.intermediates/build/soong/libatomic/android_arm_armv8-a_cortex-a73_static_vendor_lto-thin/libatomic.a /root/android/pixeldust/out/soong/.intermediates/build/soong/libgcc/android_arm_armv8-a_cortex-a73_static_vendor_lto-thin/libgcc.a /root/android/pixeldust/out/soong/.intermediates/external/libcxx/libc++/android_arm_armv8-a_cortex-a73_shared_vendor/libc++.so /root/android/pixeldust/out/soong/.intermediates/bionic/libc/libc.llndk/android_arm_armv8-a_cortex-a73_shared_vendor/libc.so /root/android/pixeldust/out/soong/.intermediates/bionic/libm/libm.llndk/android_arm_armv8-a_cortex-a73_shared_vendor/libm.so /root/android/pixeldust/out/soong/.intermediates/bionic/libdl/libdl.llndk/android_arm_armv8-a_cortex-a73_shared_vendor/libdl.so /root/android/pixeldust/out/soong/.intermediates/bionic/libc/crtend_so/android_arm_armv8-a_cortex-a73_vendor/obj/bionic/libc/arch-common/bionic/crtend_so.o -o /root/android/pixeldust/out/soong/.intermediates/external/libjpeg-turbo/libjpeg/android_arm_armv8-a_cortex-a73_shared_vendor/libjpeg.so -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libjpeg.so -target armv7a-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,--no-undefined-version -Wl,-m,armelf -Wl,--exclude-libs,libunwind_llvm.a -Wl,-plugin-opt,cache-dir=/root/android/pixeldust/out/soong/thinlto-cache -Wl,-plugin-opt,cache-policy=cache_size=10%:cache_size_bytes=10g -flto=thin -Wl,-plugin-opt,-emulated-tls
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /root/android/pixeldust/out/soong/.intermediates/external/libunwind_llvm/libunwind_llvm/android_arm_armv8-a_cortex-a73_static_vendor_lto-thin/libunwind_llvm.a: member at 94848 is not an ELF object
clang-7.0: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
21:35:22 ninja failed with: exit status 1

I already tried to add libunwind_llvm, libjpeg and libjpeg-turbo to the disable list of dtc and polly but it still doesn't work. Can you help me please? I really appreciate it. Thank you :good::highfive: