Hello, I am trying to use Clang cross compiler to build musl libc 1.2.2, as following: ./configure CC=clang --target=aarch64 make but it report the below error: clang -std=c99 -nostdinc -ffreestanding -frounding-math -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/aarch64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include -Os -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -w -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Qunused-arguments -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -fPIC -fno-stack-protector -DCRT -c -o obj/crt/Scrt1.o crt/Scrt1.c :5:11: error: unknown token in expression mov x29, #0 ^ :6:11: error: unknown token in expression mov x30, #0 ^ :7:2: error: unknown use of instruction mnemonic without a size suffix mov x0, sp ^ :10:2: error: invalid instruction mnemonic 'adrp' adrp x1, _DYNAMIC Note: It's OK when I don't specify the --target to aarch64 ./configure CC=clang make Thanks, Simon