Skip to content

Instantly share code, notes, and snippets.

@thomcc
Created August 29, 2022 22:18
Show Gist options
  • Select an option

  • Save thomcc/7c889b3a1306922f7eda28f45f1d304e to your computer and use it in GitHub Desktop.

Select an option

Save thomcc/7c889b3a1306922f7eda28f45f1d304e to your computer and use it in GitHub Desktop.
Building rustbuild
Finished dev [unoptimized] target(s) in 0.17s
Checking stage0 std artifacts (aarch64-apple-darwin -> x86_64-pc-windows-msvc)
Compiling compiler_builtins v0.1.79
Checking rustc-std-workspace-core v1.99.0 (/Users/thom/scratch/rust/library/rustc-std-workspace-core)
The following warnings were emitted during compilation:
warning: clang: error: no such file or directory: '/Zl'
error: failed to run custom build command for `compiler_builtins v0.1.79`
Caused by:
process didn't exit successfully: `/Users/thom/scratch/rust/build/aarch64-apple-darwin/stage0-std/release/build/compiler_builtins-92a200eb98e2c90d/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:compiler-rt=/Users/thom/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.79/compiler-rt
cargo:rustc-cfg=feature="unstable"
cargo:rustc-cfg=feature="mem-unaligned"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
cargo:rustc-cfg=__absvdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
cargo:rustc-cfg=__absvsi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
cargo:rustc-cfg=__absvti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
cargo:rustc-cfg=__addvdi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
cargo:rustc-cfg=__addvsi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
cargo:rustc-cfg=__addvti3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/clzdi2.c
cargo:rustc-cfg=__clzdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/clzsi2.c
cargo:rustc-cfg=__clzsi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/clzti2.c
cargo:rustc-cfg=__clzti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
cargo:rustc-cfg=__cmpdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
cargo:rustc-cfg=__cmpti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ctzdi2.c
cargo:rustc-cfg=__ctzdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ctzsi2.c
cargo:rustc-cfg=__ctzsi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ctzti2.c
cargo:rustc-cfg=__ctzti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/divdc3.c
cargo:rustc-cfg=__divdc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/divsc3.c
cargo:rustc-cfg=__divsc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/divxc3.c
cargo:rustc-cfg=__divxc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/extendhfsf2.c
cargo:rustc-cfg=__extendhfsf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
cargo:rustc-cfg=__ffsti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/x86_64/floatdixf.c
cargo:rustc-cfg=__floatdixf="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/int_util.c
cargo:rustc-cfg=__int_util="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/muldc3.c
cargo:rustc-cfg=__muldc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c
cargo:rustc-cfg=__mulsc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
cargo:rustc-cfg=__mulvdi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
cargo:rustc-cfg=__mulvsi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
cargo:rustc-cfg=__mulvti3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/mulxc3.c
cargo:rustc-cfg=__mulxc3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
cargo:rustc-cfg=__negdf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
cargo:rustc-cfg=__negdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
cargo:rustc-cfg=__negsf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negti2.c
cargo:rustc-cfg=__negti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
cargo:rustc-cfg=__negvdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
cargo:rustc-cfg=__negvsi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
cargo:rustc-cfg=__negvti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
cargo:rustc-cfg=__paritydi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
cargo:rustc-cfg=__paritysi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
cargo:rustc-cfg=__parityti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
cargo:rustc-cfg=__popcountdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
cargo:rustc-cfg=__popcountsi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
cargo:rustc-cfg=__popcountti2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/powixf2.c
cargo:rustc-cfg=__powixf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
cargo:rustc-cfg=__subvdi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
cargo:rustc-cfg=__subvsi3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
cargo:rustc-cfg=__subvti3="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/truncdfhf2.c
cargo:rustc-cfg=__truncdfhf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/truncsfhf2.c
cargo:rustc-cfg=__truncsfhf2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
cargo:rustc-cfg=__ucmpdi2="optimized-c"
cargo:rerun-if-changed=/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
cargo:rustc-cfg=__ucmpti2="optimized-c"
TARGET = Some("x86_64-pc-windows-msvc")
OPT_LEVEL = Some("3")
HOST = Some("aarch64-apple-darwin")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
TARGET_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("crt-static,fxsr,llvm14-builtins-abi,sse,sse2")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
TARGET_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("crt-static,fxsr,llvm14-builtins-abi,sse,sse2")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-static" "/Zl" "-ffile-prefix-map=/Users/thom/scratch/rust/src/llvm-project/compiler-rt=." "-D__func__=__FUNCTION__" "-Fo/Users/thom/scratch/rust/build/aarch64-apple-darwin/stage0-std/x86_64-pc-windows-msvc/release/build/compiler_builtins-6685f9dfa4c313c7/out/absvdi2.o" "-c" "/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c"
cargo:warning=clang: error: no such file or directory: '/Zl'
exit status: 1
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-static" "/Zl" "-ffile-prefix-map=/Users/thom/scratch/rust/src/llvm-project/compiler-rt=." "-D__func__=__FUNCTION__" "-Fo/Users/thom/scratch/rust/build/aarch64-apple-darwin/stage0-std/x86_64-pc-windows-msvc/release/build/compiler_builtins-6685f9dfa4c313c7/out/absvdi2.o" "-c" "/Users/thom/scratch/rust/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c" with args "cc" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment