Build error when trying to compile wasm target

I'm trying to build the wasm32-unknown-unknown target for rust (with x86_64-unknown-linux-gnu as host system), but I keep hitting the same build error. I've exhausted all options I could think of, so I'm hoping someone here can point out where my problem might lie.

The rust package for my distro doesn't ship the wasm targets by default, so I'm creating a separate addon package for it. I have a script to do so and that worked fine up to (including) rust 1.77.2. With rust 1.78.0 something changed, either in rust or in my base system (Slackware64-current) and I just can't narrow down what.

This is the error I'm getting:

Building stage1 library artifacts (x86_64-unknown-linux-gnu -> wasm32-unknown-unknown)
   Compiling compiler_builtins v0.1.109
   Compiling core v0.0.0 (/usr/src/sbo_tmp/rustc-1.79.0-src/library/core)
The following warnings were emitted during compilation:

warning: compiler_builtins@0.1.109: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning: compiler_builtins@0.1.109: 1 error generated.

error: failed to run custom build command for `compiler_builtins v0.1.109`

Caused by:
  process didn't exit successfully: `/usr/src/sbo_tmp/rustc-1.79.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/build/compiler_builtins-fdd5d9d18b5f05dc/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:compiler-rt=/usr/src/sbo_tmp/rustc-1.79.0-src/vendor/compiler_builtins-0.1.109/compiler-rt
  cargo:rustc-cfg=feature="unstable"
  cargo:rustc-cfg=feature="mem"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
  cargo:rustc-cfg=__absvdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
  cargo:rustc-cfg=__absvsi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
  cargo:rustc-cfg=__absvti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
  cargo:rustc-cfg=__addvdi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
  cargo:rustc-cfg=__addvsi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
  cargo:rustc-cfg=__addvti3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/clzdi2.c
  cargo:rustc-cfg=__clzdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/clzsi2.c
  cargo:rustc-cfg=__clzsi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/clzti2.c
  cargo:rustc-cfg=__clzti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
  cargo:rustc-cfg=__cmpdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
  cargo:rustc-cfg=__cmpti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ctzdi2.c
  cargo:rustc-cfg=__ctzdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ctzsi2.c
  cargo:rustc-cfg=__ctzsi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ctzti2.c
  cargo:rustc-cfg=__ctzti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/divdc3.c
  cargo:rustc-cfg=__divdc3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/divsc3.c
  cargo:rustc-cfg=__divsc3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/extendhfsf2.c
  cargo:rustc-cfg=__extendhfsf2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
  cargo:rustc-cfg=__ffsti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/int_util.c
  cargo:rustc-cfg=__int_util="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/muldc3.c
  cargo:rustc-cfg=__muldc3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c
  cargo:rustc-cfg=__mulsc3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
  cargo:rustc-cfg=__mulvdi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
  cargo:rustc-cfg=__mulvsi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
  cargo:rustc-cfg=__mulvti3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
  cargo:rustc-cfg=__negdf2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
  cargo:rustc-cfg=__negdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
  cargo:rustc-cfg=__negsf2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negti2.c
  cargo:rustc-cfg=__negti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
  cargo:rustc-cfg=__negvdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
  cargo:rustc-cfg=__negvsi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
  cargo:rustc-cfg=__negvti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
  cargo:rustc-cfg=__paritydi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
  cargo:rustc-cfg=__paritysi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
  cargo:rustc-cfg=__parityti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
  cargo:rustc-cfg=__popcountdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
  cargo:rustc-cfg=__popcountsi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
  cargo:rustc-cfg=__popcountti2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
  cargo:rustc-cfg=__subvdi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
  cargo:rustc-cfg=__subvsi3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
  cargo:rustc-cfg=__subvti3="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/truncdfhf2.c
  cargo:rustc-cfg=__truncdfhf2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/truncsfhf2.c
  cargo:rustc-cfg=__truncsfhf2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
  cargo:rustc-cfg=__ucmpdi2="optimized-c"
  cargo:rerun-if-changed=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
  cargo:rustc-cfg=__ucmpti2="optimized-c"
  TARGET = Some("wasm32-unknown-unknown")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("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("false")
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
  CC_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
  CC_wasm32_unknown_unknown = Some("clang")
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
  CFLAGS_wasm32-unknown-unknown = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
  CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC --target=wasm32-unknown-unknown")
  cargo:warning=error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
  cargo:warning=1 error generated.

  --- stderr


  error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-fomit-frame-pointer" "-ffile-prefix-map=/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/usr/src/sbo_tmp/rustc-1.79.0-src/build/x86_64-unknown-linux-gnu/stage1-std/wasm32-unknown-unknown/release/build/compiler_builtins-338202080ced6965/out/9729f8276d8a41f4-addvdi3.o" "-c" "/usr/src/sbo_tmp/rustc-1.79.0-src/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c" with args clang did not execute successfully (status code exit status: 1).

If I run the command manually, it works just fine (exit code 0), but then it's also using my system clang and I'm not sure rust is doing so too.

This is the config.toml I'm using:

[llvm]
ccache = "/usr/bin/ccache"
link-shared = true

[build]
build = "x86_64-unknown-linux-gnu"
host = ["x86_64-unknown-linux-gnu"]
target = ["wasm32-unknown-unknown"]
tools = ["analysis"]
submodules = false
vendor = true
extended = true
rustc = "/usr/bin/rustc"
cargo = "/usr/bin/cargo"
docs = false

[install]
prefix = "/usr"
docdir = "doc/rust-wasm-1.79.0"
libdir = "lib64"
mandir = "man"

[rust]
codegen-units = 0
channel = "stable"
rpath = false
codegen-tests = false

Full sources for my build are here, but not sure that's necessary: Index of /pprkut/current/source/rust-wasm/

I think this is the build script of compiler-builtins trying to compile some C code using a clang that has WebAssembly support disabled when it was built. You can try setting build.optimized-compiler-builtins = false in config.toml to avoid building any C code at the cost of the resulting wasm binaries being a bit slower.

By the way you should probably copy just lib/rustlib/wasm32-unknown-unknown (and any licenses) into the output directory from which the package is created rather than list a lot of things to remove before copying the entire build directory into the package. If you use ./x.py dist std you should already get a single tarball with just the wasm32-unknown-unknown standard library and licenses.

As bjorn3 mentioned, this is because of optimized-compiler-builtins. In particular, I do not think it works with clang. The Rust project builds its wasm32-unknown-unknown target with CC=gcc-9.

GCC doesn't have a wasm backend at all afaik.

Oh, yea. Then I don't fully understand what's going on with compiler-builtins in our environment. I enabled debug, and I can see that it is building compiler-rt with gcc-9. Is it just building x86_64 linux binaries that are then ignored somehow?

Build log
cargo:rerun-if-changed=build.rs
cargo:compiler-rt=/cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.109/compiler-rt
cargo:rustc-cfg=feature="unstable"
cargo:rustc-cfg=feature="mem"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
cargo:rustc-cfg=__absvdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
cargo:rustc-cfg=__absvsi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
cargo:rustc-cfg=__absvti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
cargo:rustc-cfg=__addvdi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
cargo:rustc-cfg=__addvsi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
cargo:rustc-cfg=__addvti3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/clzdi2.c
cargo:rustc-cfg=__clzdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/clzsi2.c
cargo:rustc-cfg=__clzsi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/clzti2.c
cargo:rustc-cfg=__clzti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
cargo:rustc-cfg=__cmpdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
cargo:rustc-cfg=__cmpti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzdi2.c
cargo:rustc-cfg=__ctzdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzsi2.c
cargo:rustc-cfg=__ctzsi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzti2.c
cargo:rustc-cfg=__ctzti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/divdc3.c
cargo:rustc-cfg=__divdc3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/divsc3.c
cargo:rustc-cfg=__divsc3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/extendhfsf2.c
cargo:rustc-cfg=__extendhfsf2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
cargo:rustc-cfg=__ffsti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/int_util.c
cargo:rustc-cfg=__int_util="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/muldc3.c
cargo:rustc-cfg=__muldc3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c
cargo:rustc-cfg=__mulsc3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
cargo:rustc-cfg=__mulvdi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
cargo:rustc-cfg=__mulvsi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
cargo:rustc-cfg=__mulvti3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
cargo:rustc-cfg=__negdf2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
cargo:rustc-cfg=__negdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
cargo:rustc-cfg=__negsf2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negti2.c
cargo:rustc-cfg=__negti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
cargo:rustc-cfg=__negvdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
cargo:rustc-cfg=__negvsi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
cargo:rustc-cfg=__negvti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
cargo:rustc-cfg=__paritydi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
cargo:rustc-cfg=__paritysi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
cargo:rustc-cfg=__parityti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
cargo:rustc-cfg=__popcountdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
cargo:rustc-cfg=__popcountsi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
cargo:rustc-cfg=__popcountti2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
cargo:rustc-cfg=__subvdi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
cargo:rustc-cfg=__subvsi3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
cargo:rustc-cfg=__subvti3="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/truncdfhf2.c
cargo:rustc-cfg=__truncdfhf2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/truncsfhf2.c
cargo:rustc-cfg=__truncsfhf2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
cargo:rustc-cfg=__ucmpdi2="optimized-c"
cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
cargo:rustc-cfg=__ucmpti2="optimized-c"
TARGET = Some("wasm32-unknown-unknown")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
CC_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
CC_wasm32_unknown_unknown = Some("sccache gcc-9")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
running: "gcc-9" "-E" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/11025918994847648379detect_
compiler_family.c"
exit status: 0
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/11025918994847648379detect_compiler_family.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/11025918994847648379detect_compiler_family.c"






# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/11025918994847648379detect_compiler_family.c"
#pragma message "gcc"
# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/11025918994847648379detect_compiler_family.c"

running: "gcc-9" "-?"
cargo:warning=gcc-9: error: unrecognized command line option ‘-?’
cargo:warning=gcc-9: fatal error: no input files
cargo:warning=compilation terminated.
exit status: 1
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("mutable-globals,sign-ext")
cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
CFLAGS_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
running: "gcc-9" "-E" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/6136265953736845165detect_c
ompiler_family.c"
exit status: 0
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/6136265953736845165detect_compiler_family.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/6136265953736845165detect_compiler_family.c"






# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/6136265953736845165detect_compiler_family.c"
#pragma message "gcc"
# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/6136265953736845165detect_compiler_family.c"

running: "gcc-9" "-?"
cargo:warning=gcc-9: error: unrecognized command line option ‘-?’
cargo:warning=gcc-9: fatal error: no input files
cargo:warning=compilation terminated.
exit status: 1
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("mutable-globals,sign-ext")
cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
CFLAGS_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
running: "gcc-9" "-E" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/4130729437123335706detect_c
ompiler_family.c"
exit status: 0
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/4130729437123335706detect_compiler_family.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/4130729437123335706detect_compiler_family.c"






# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/4130729437123335706detect_compiler_family.c"
#pragma message "gcc"
# 6 "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/4130729437123335706detect_compiler_family.c"

running: "gcc-9" "-?"
cargo:warning=gcc-9: error: unrecognized command line option ‘-?’
cargo:warning=gcc-9: fatal error: no input files
cargo:warning=compilation terminated.
exit status: 1
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("mutable-globals,sign-ext")
cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
CFLAGS_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
CFLAGS_wasm32_unknown_unknown = Some("-ffunction-sections -fdata-sections -fPIC")
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvsi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/absvti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvdi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvsi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvti3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/addvti3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-clzdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/clzdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-clzsi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/clzsi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-clzti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/clzti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-cmpdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-cmpti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzsi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzsi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ctzti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-divdc3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/divdc3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-divsc3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/divsc3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-extendhfsf2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/extendhfsf2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ffsti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-int_util.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/int_util.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-muldc3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/muldc3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulsc3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulvdi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulvsi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulvti3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negdf2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negdf2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negsf2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negsf2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvsi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/negvti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-paritydi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-paritysi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-parityti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/parityti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountsi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvdi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvsi3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvti3.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/subvti3.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-truncdfhf2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/truncdfhf2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-truncsfhf2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/truncsfhf2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ucmpdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c"
exit status: 0
running: "sccache" "gcc-9" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding"
 "-fomit-frame-pointer" "-ffile-prefix-map=/checkout/src/llvm-project/compiler-rt=." "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ucmpti2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c"
exit status: 0
cargo:rerun-if-env-changed=AR_wasm32-unknown-unknown
AR_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=AR_wasm32_unknown_unknown
AR_wasm32_unknown_unknown = Some("ar")
cargo:rerun-if-env-changed=ARFLAGS_wasm32-unknown-unknown
ARFLAGS_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=ARFLAGS_wasm32_unknown_unknown
ARFLAGS_wasm32_unknown_unknown = None
cargo:rerun-if-env-changed=TARGET_ARFLAGS
TARGET_ARFLAGS = None
cargo:rerun-if-env-changed=ARFLAGS
ARFLAGS = None
running: ZERO_AR_DATE="1" "ar" "cq" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/libcompiler-r
t.a" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvdi2.o" "/checkout/obj/b
uild/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvsi2.o" "/checkout/obj/build/x86_64-unknown-l
inux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-absvti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/w
asm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvdi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown
/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvsi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compil
er_builtins-dd12fd277b6f7431/out/45c91108d938afe8-addvti3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277
b6f7431/out/45c91108d938afe8-clzdi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d9
38afe8-clzsi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-clzti2.o" "/che
ckout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-cmpdi2.o" "/checkout/obj/build/x86_64
-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-cmpti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/sta
ge2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzdi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown
-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzsi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build
/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ctzti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd1
2fd277b6f7431/out/45c91108d938afe8-divdc3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c9
1108d938afe8-divsc3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-extendhfs
f2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ffsti2.o" "/checkout/obj/b
uild/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-int_util.o" "/checkout/obj/build/x86_64-unknown-
linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-muldc3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/w
asm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulsc3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/
release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulvdi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compile
r_builtins-dd12fd277b6f7431/out/45c91108d938afe8-mulvsi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b
6f7431/out/45c91108d938afe8-mulvti3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d9
38afe8-negdf2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negdi2.o" "/che
ckout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negsf2.o" "/checkout/obj/build/x86_64
-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/sta
ge2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvdi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknow
n-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvsi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/bui
ld/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-negvti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-
dd12fd277b6f7431/out/45c91108d938afe8-paritydi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/ou
t/45c91108d938afe8-paritysi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-
parityti2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountdi2.o" "/ch
eckout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountsi2.o" "/checkout/obj/build/
x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-popcountti2.o" "/checkout/obj/build/x86_64-unknown-li
nux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvdi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wa
sm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvsi3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/
release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-subvti3.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compile
r_builtins-dd12fd277b6f7431/out/45c91108d938afe8-truncdfhf2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd2
77b6f7431/out/45c91108d938afe8-truncsfhf2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c9
1108d938afe8-ucmpdi2.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/45c91108d938afe8-ucmpti2.
o"
exit status: 0
running: "ar" "s" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out/libcompiler-rt.a"
exit status: 0
cargo:rustc-link-lib=static=compiler-rt
cargo:rustc-link-search=native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/wasm32-unknown-unknown/release/build/compiler_builtins-dd12fd277b6f7431/out

I tried a couple more things on my side:

  • Building with the system llvm works (llvm-config = "/usr/bin/llvm-config" in config.toml for the relevant targets)
  • Building with rust's llvm, but disabling building clang and pointing the wasm target to the system clang works too (clang = false in the llvm section of config.toml and cc = "/usr/bin/clang" for the wasm target)
  • Just disabling building clang, without pointing the wasm target to the system clang does not work
  • Building all targets with the system clang didn't work. Something with the x86_64 targets didn't like clang, and by default it's picking up gcc.

So, from my point of view, it looks like the llvm/clang that rust builds during bootstrap isn't working (for me?) for the wasm target. I'm not sure why though, because the WebAssembly support is built. Perhaps it doesn't find the necessary includes or some such?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.