[Google Pixel ROMs, Kernels, Recoveries, & Other De] jontxo:
Hello

I have tried to compile the rom in archlinux with the following script

#!/bin/bash

crDroid_path=/mnt/My_Passport/programs/Android/roms/pixelDust

# set python 2 as the default python

cd /opt/android-build && export PATH=/opt/android-build:$PATH && cd $script_path

cd $crDroid_path

#repo sync

# set java 8 as the default java

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/

cd $crDroid_path

. build/envsetup.sh

lunch pixeldust_sailfish-userdebug

make pixeldust -j4

and I get the following error

FAILED: /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_kryo_core_shared/libc.so

prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ @/mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_kryo_core_shared/libc.so.rsp -Wl,--whole-archive /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc_common/android_arm64_armv8-a_kryo_core_static/libc_common.a /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/external/jemalloc/libjemalloc/android_arm64_armv8-a_kryo_core_static/libjemalloc.a /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc_init_dynamic/android_arm64_armv8-a_kryo_core_static/libc_init_dynamic.a -Wl,--no-whole-archive /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/external/compiler-rt/libcompiler_rt-extras/android_arm64_armv8-a_kryo_core_static/libcompiler_rt-extras.a /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/build/soong/libatomic/android_arm64_armv8-a_kryo_core_static/libatomic.a /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/build/soong/libgcc/android_arm64_armv8-a_kryo_core_static/libgcc.a /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/linker/ld-android/android_arm64_armv8-a_kryo_core_shared/ld-android.so /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libdl/libdl/android_arm64_armv8-a_kryo_core_shared/libdl.so -o /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_kryo_core_shared/libc.so -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libc.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 -Wl,--fix-cortex-a53-843419 -Wl,--version-script,bionic/libc/libc.arm64.map

prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc_common/android_arm64_armv8-a_kryo_core_static/libc_common.a(memcpy.o): multiple definition of 'memcpy'

prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: /mnt/My_Passport/programs/Android/roms/pixelDust/out/soong/.intermediates/bionic/libc/libc_common/android_arm64_armv8-a_kryo_core_static/libc_common.a(memmove.o): previous definition here

bionic/libc/arch-arm64/generic/bionic/memmove.S:95: error: undefined reference to '__memcpy'

bionic/libc/arch-arm64/generic/bionic/memmove.S:95: error: undefined reference to '__memcpy'

clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)

[ 1% 230/11721] build /mnt/My_Passport/programs/Android/roms/pixelDust/out/target/product/sailfish/obj/KERNEL_OBJ/.config

Building Kernel Config

make: Entering directory '/mnt/My_Passport/programs/Android/roms/pixelDust/kernel/google/marlin'

make[1]: Entering directory '/mnt/My_Passport/programs/Android/roms/pixelDust/out/target/product/sailfish/obj/KERNEL_OBJ'

GEN ./Makefile

#

# configuration written to .config

#

make[1]: Leaving directory '/mnt/My_Passport/programs/Android/roms/pixelDust/out/target/product/sailfish/obj/KERNEL_OBJ'

make: Leaving directory '/mnt/My_Passport/programs/Android/roms/pixelDust/kernel/google/marlin'

make: Entering directory '/mnt/My_Passport/programs/Android/roms/pixelDust/kernel/google/marlin'

make[1]: Entering directory '/mnt/My_Passport/programs/Android/roms/pixelDust/out/target/product/sailfish/obj/KERNEL_OBJ'

GEN ./Makefile

scripts/kconfig/conf --savedefconfig=defconfig Kconfig

make[1]: Leaving directory '/mnt/My_Passport/programs/Android/roms/pixelDust/out/target/product/sailfish/obj/KERNEL_OBJ'

make: Leaving directory '/mnt/My_Passport/programs/Android/roms/pixelDust/kernel/google/marlin'

ninja: build stopped: subcommand failed.

23:12:54 ninja failed with: exit status 1

Has someone seen something similar?

Regards