[Android] srgrusso:
I'm building Liquid Remix for the SM-T580 and I'm getting the following error. Maybe someone can explain it to me.

FAILED: /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/EXECUTABLES/updater_intermediates/LINKED/updater
/bin/bash -c "prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ -nostdlib -Bstatic -static -Wl,--gc-sections -o /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/EXECUTABLES/updater_intermediates/LINKED/updater /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/lib/crtbegin_static.o -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,-m,aarch64_elf64_le_vec -Wl,--hash-style=gnu -fuse-ld=gold -Wl,--icf=safe -Wl,--fix-cortex-a53-843419 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,--exclude-libs,libclang_rt.ubsan_minimal-aarch64-android.a -Wl,--no-undefined /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/EXECUTABLES/updater_intermediates/updater.o -Wl,--whole-archive -Wl,--no-whole-archive /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libupdater_intermediates/libupdater.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libapplypatch_intermediates/libapplypatch.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libbspatch_intermediates/libbspatch.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libedify_intermediates/libedify.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libziparchive_intermediates/libziparchive.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libotautil_intermediates/libotautil.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libbootloader_message_intermediates/libbootloader_message.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libmounts_intermediates/libmounts.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libotafault_intermediates/libotafault.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext4_utils_intermediates/libext4_utils.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libfec_intermediates/libfec.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libfec_rs_intermediates/libfec_rs.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libfs_mgr_intermediates/libfs_mgr.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libsparse_intermediates/libsparse.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libsquashfs_utils_intermediates/libsquashfs_utils.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libbz_intermediates/libbz.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libz_intermediates/libz.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libcrypto_intermediates/libcrypto.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libcrypto_utils_intermediates/libcrypto_utils.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libcutils_intermediates/libcutils.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libtune2fs_intermediates/libtune2fs.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libbrotli_intermediates/libbrotli.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libziparchive_intermediates/libziparchive.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2_com_err_intermediates/libext2_com_err.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/libext2_blkid.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2_quota_intermediates/libext2_quota.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2_uuid_intermediates/libext2_uuid.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2_e2p_intermediates/libext2_e2p.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libm_intermediates/libm.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libdl_intermediates/libdl.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-aarch64-android_intermediates/libclang_rt.ubsan_minimal-aarch64-android.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a -Wl,--start-group /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libc_intermediates/libc.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,--end-group /mnt/UserData/Projects/Android-Source/LiquidRemix-pie/out/target/product/gtaxlwifi/obj/lib/crtend_android.o"
external/e2fsprogs/misc/tune2fs.c:2758: error: undefined reference to 'program_name'
external/e2fsprogs/misc/tune2fs.c:2758: error: undefined reference to 'program_name'
external/e2fsprogs/misc/tune2fs.c:1897: error: undefined reference to 'program_name'
external/e2fsprogs/misc/tune2fs.c:1897: error: undefined reference to 'program_name'
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)

Link to my tree https://github.com/srgrusso/android_device_samsung_gtaxlwifi/tree/liquid-remix-9.0_64-bsp

Thanks

Edit: Here is it on pastebin https://pastebin.com/qftjLwqZ