You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building for the aarch64-pc-windows-gnullvm target, building the assembly bits fails due to clang getting passed an invalid target name.
Namely, the rust target has an "llvm" sitting at the end, while the llvm target does not.
To Reproduce
Add the aarch64-pc-windows-gnullvm target via rustup or other means, and try to build rav1e for it.
Expected behavior
A clear and concise description of what you expected to happen.
Required Information
Toolchain (if is a build problem):
$ cargo --version
cargo 1.82.0-nightly (0d8d22f83 2024-08-08)
$ rustc --version
rustc 1.82.0-nightly (ca5d25e2c 2024-08-09)
$ nasm --version # if on x86_64
NASM version 2.16.01
Version:
latest master
Operating system:
linux, cross compiling for aarch64 windows.
$ uname -a
Linux 158b89d49801 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Console Output
Please paste the console output below if it is relevant,
# cargo build --target=aarch64-pc-windows-gnullvm --release
Compiling rav1e v0.7.0 (/rav1e)
The following warnings were emitted during compilation:
warning: [email protected]: clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef.o" "-c" "src/arm/64/cdef.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef16.o" "-c" "src/arm/64/cdef16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef_dist.o" "-c" "src/arm/64/cdef_dist.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-mc.o" "-c" "src/arm/64/mc.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-mc16.o" "-c" "src/arm/64/mc16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-itx.o" "-c" "src/arm/64/itx.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-itx16.o" "-c" "src/arm/64/itx16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-ipred.o" "-c" "src/arm/64/ipred.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-ipred16.o" "-c" "src/arm/64/ipred16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-sad.o" "-c" "src/arm/64/sad.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-satd.o" "-c" "src/arm/64/satd.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-sse.o" "-c" "src/arm/64/sse.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
warning: [email protected]: ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/24d010046aac078b-tables.o" "-c" "src/arm/tables.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).
error: failed to run custom build command for `rav1e v0.7.0 (/rav1e)`
Caused by:
process didn't exit successfully: `/rav1e/target/release/build/rav1e-78066fea355ad519/build-script-build` (exit status: 1)
--- stdout
cargo:rustc-cfg=asm_neon
TARGET = Some("aarch64-pc-windows-gnullvm")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_aarch64-pc-windows-gnullvm
CC_aarch64-pc-windows-gnullvm = None
cargo:rerun-if-env-changed=CC_aarch64_pc_windows_gnullvm
CC_aarch64_pc_windows_gnullvm = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("aarch64-w64-mingw32-clang")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
cargo:rerun-if-env-changed=CFLAGS_aarch64-pc-windows-gnullvm
CFLAGS_aarch64-pc-windows-gnullvm = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_pc_windows_gnullvm
CFLAGS_aarch64_pc_windows_gnullvm = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = Some("-I/opt/ffbuild/include -O2 -pipe -D_FORTIFY_SOURCE=2 -fstack-protector-strong")
cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef.o" "-c" "src/arm/64/cdef.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef16.o" "-c" "src/arm/64/cdef16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-cdef_dist.o" "-c" "src/arm/64/cdef_dist.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-mc.o" "-c" "src/arm/64/mc.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-mc16.o" "-c" "src/arm/64/mc16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-itx.o" "-c" "src/arm/64/itx.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-itx16.o" "-c" "src/arm/64/itx16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-ipred.o" "-c" "src/arm/64/ipred.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-ipred16.o" "-c" "src/arm/64/ipred16.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-sad.o" "-c" "src/arm/64/sad.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-satd.o" "-c" "src/arm/64/satd.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/ca81b3637afdb6b5-sse.o" "-c" "src/arm/64/sse.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: version 'llvm' in target triple 'aarch64-pc-windows-gnullvm' is invalid
exit status: 1
cargo:warning=ToolExecError: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/24d010046aac078b-tables.o" "-c" "src/arm/tables.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).
--- stderr
error occurred: Command "aarch64-w64-mingw32-clang" "-O3" "--target=aarch64-pc-windows-gnullvm" "-ffunction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-pc-windows-gnullvm" "-I" "." "-I" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out" "-I/opt/ffbuild/include" "-O2" "-pipe" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-o" "/rav1e/target/aarch64-pc-windows-gnullvm/release/build/rav1e-7ddc17cf5078d168/out/24d010046aac078b-tables.o" "-c" "src/arm/tables.S" with args aarch64-w64-mingw32-clang did not execute successfully (status code exit status: 1).
The text was updated successfully, but these errors were encountered:
Describe the bug
When building for the aarch64-pc-windows-gnullvm target, building the assembly bits fails due to clang getting passed an invalid target name.
Namely, the rust target has an "llvm" sitting at the end, while the llvm target does not.
To Reproduce
Add the aarch64-pc-windows-gnullvm target via rustup or other means, and try to build rav1e for it.
Expected behavior
A clear and concise description of what you expected to happen.
Required Information
Toolchain (if is a build problem):
Version:
latest master
Operating system:
linux, cross compiling for aarch64 windows.
Console Output
Please paste the console output below if it is relevant,
The text was updated successfully, but these errors were encountered: