Nikita Popov

Results 517 comments of Nikita Popov

arm-android (GCC 5.4) fails with: ``` FAILED: sccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/checkout/src/llvm-project/llvm/lib/Support -Iinclude -I/checkout/src/llvm-project/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter...

@rust-timer build 3a4b1ad25e31a3f4fb5cff5a74a92b947850957e

dist-various-1 failure for thumbv6m-none-eabi: ``` ---- [run-make] src/test/run-make/thumb-none-qemu stdout ---- error: make failed status: exit status: 2 command: "make" --- stdout ------------------------------- bash script.sh AR_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-ar BASE_COMMIT= BOOTSTRAP_CARGO=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo BOOTSTRAP_PARENT_ID=2744 BOOTSTRAP_PYTHON=/usr/bin/python3 CARGO_HOME=/cargo...

I believe this is due to https://reviews.llvm.org/D120026. Previously, LLVM incorrectly emitted plain loads and stores for atomic loads and stores for the thumbv6 target. We should be setting `max_atomic_width =...

dist-various-2 build failure for aarch64-fuchsia: ``` running: "sccache" "aarch64-fuchsia-clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=aarch64-fuchsia" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=aarch64-fuchsia" "-I" "/checkout/src/llvm-project/compiler-rt/lib/builtins" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-fomit-frame-pointer" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-fuchsia/release/build/compiler_builtins-997f5fa9cc5c4633/out/cpu_model.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/cpu_model.c" cargo:warning=/checkout/src/llvm-project/compiler-rt/lib/builtins/cpu_model.c:812:10:...

Reference to `zircon/features.h` was added in https://github.com/llvm/llvm-project/commit/4e731abc55681751b5d736b613f7720e50eb1ad4. It looks like the `zircon/features.h` header is newer than Rust's mirror of zircon, which is from Sep 2017: https://github.com/rust-lang/mirror-google-fuchsia-zircon/tree/rust-ci-mirror-2019-05-09/system/public/zircon That's ... a bit...

dist-mips-linux fails with: ``` error: linking with `mips-linux-gnu-gcc` failed: exit status: 1 | = note: "mips-linux-gnu-gcc" "/tmp/rustc78QIx0/symbols.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/deps/rustc_main-9edd0bbda62098e9.rustc_main.da8bea99-cgu.0.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/deps/rustc_main-9edd0bbda62098e9.rustc_main.da8bea99-cgu.1.rcgu.o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/deps/rustc_main-9edd0bbda62098e9.rustc_main.da8bea99-cgu.2.rcgu.o" "-Wl,--as-needed" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/build/psm-1a50ac5c47e8b96e/out" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/mips-unknown-linux-gnu/release/build/rustc_llvm-e9614cd82fd4760a/out" "-L"...

I believe this is due to https://reviews.llvm.org/D128070, which started using 64-bit atomics on all platforms :/

@cuviper I believe the problem here is that in cross-compiled configurations, we don't have any information about system libs LLVM requires, because we can't run llvm-config on the host: https://github.com/rust-lang/rust/blob/2f847b81a0d8633f200f2c2269c1c43fe9e7def3/compiler/rustc_llvm/build.rs#L238...

`dist-powerpc-linux` fails with: ``` warning: In file included from /checkout/src/llvm-project/compiler-rt/lib/builtins/int_lib.h:99:0, warning: from /checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c:13: warning: /checkout/src/llvm-project/compiler-rt/lib/builtins/int_types.h:79:1: error: unable to emulate 'TI' warning: typedef int ti_int __attribute__((mode(TI))); warning: ^ warning: /checkout/src/llvm-project/compiler-rt/lib/builtins/int_types.h:80:1: error:...