Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 11 pull requests #60488

Closed
wants to merge 44 commits into from
Closed

Conversation

Centril
Copy link
Contributor

@Centril Centril commented May 2, 2019

Successful merges:

Failed merges:

r? @ghost

petrochenkov and others added 30 commits April 12, 2019 22:32
`file_metadata_raw` interns the strings `"<unknown>"` and `""` very
frequently. This commit avoids that, which reduces the number of symbols
interned significantly and reduces instruction counts by up to 0.5% on
some workloads.
`find_attr_val(&line, "since")` returns `Some(", issue = ")` when
`line` is set to the following line:

```
[unstable(feature = "checked_duration_since", issue = "58402")]
```

Make `find_attr_val` use regex that is a little bit more
precise (requires `=` after key name).

It still does not handle all cases (e.g., extra leading chars in key
name, or escaped quotes in value), but is good enough for now.
rasendubi and others added 14 commits May 2, 2019 16:38
Make deprecation lint `ambiguous_associated_items` deny-by-default

As requested by r? @Centril

cc rust-lang#57644
Added arm-none-eabi target

Hello,

This PR adds a new target for compiling bare-metal ARM Cortex-A programs.

I've managed to build and use this new target, but I am unclear with regards to a few details:

- I'm not sure what are the criteria for choosing between lld and gnu-ld
- When trying to build with `./x.py build --target arm-none-eabi`, the script tries to compile with `cc`, instead of `arm-none-eabi-gcc`. It could find different cross-compilers just fine, but I didn't understand where I had to specify it. (I ended up specifying `CC_arm_none_eabi=arm-none-eabi-gcc` in the environment).
- I couldn't find where I can exclude std from compiling for this target (as I guess occurs with other bare-metal targets).
- Should I add a separate target for `eabihf`?
…rrors, r=QuietMisdreavus

report fatal errors during doctest parsing

Fixes rust-lang#59557.
… r=Centril

Tidy: ensure lang features are sorted by since

This is the tidy side of rust-lang#60361.

What is left is actually splitting features into groups and sorting by since.

This PR also likely to produce a small (a couple of lines) merge conflict with rust-lang#60362.

r? @Centril
 Do not suggest incorrect syntax on pattern type error due to borrow

Fix rust-lang#55174.
Rename `RUST_LOG` to `RUSTC_LOG`

cc: rust-lang#57985

I think we should also change these submodules:

- rustc-guide
- Cargo (rename to `CARGO_LOG`, cc: rust-lang/cargo#6605)
- miri
- rls
- rustfmt

r? @davidtwco
…e, r=oli-obk

Require a trait in the bounds of existential types

Fixes rust-lang#53090

r? @oli-obk
…r=pnkfelix

Constrain all regions in the concrete type for an opaque type

`push_outlives_components` skips some regions in a type, notably the signature
of a closure is ignored. Most of the time this is OK, but for opaque types the
concrete type is used when checking auto-trait bounds in other functions.

cc @nikomatsakis @pnkfelix

Closes rust-lang#57464
Closes rust-lang#60127
…vidtwco

Resolve match arm ty when arms diverge

Fix rust-lang#58695.
… r=oli-obk

Const prop refactoring

This is rebased on top of rust-lang#60428 so only the top commit is new.

This is the refactoring to remove the `mir` field from `ConstPropagator` which is necessary before we can begin to actually propagate constants.

r? @oli-obk
…r=davidtwco

Avoid repeated interning of static strings.

`file_metadata_raw` interns the strings `"<unknown>"` and `""` very
frequently. This commit avoids that, which reduces the number of symbols
interned significantly and reduces instruction counts by up to 0.5% on
some workloads.
@Centril
Copy link
Contributor Author

Centril commented May 2, 2019

@bors r+ p=11

@bors
Copy link
Contributor

bors commented May 2, 2019

📌 Commit 5ab3b6b has been approved by Centril

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 2, 2019
@bors
Copy link
Contributor

bors commented May 3, 2019

⌛ Testing commit 5ab3b6b with merge 305d47bcdb14d1c0bfd51619772a39a72cced8bc...

@bors
Copy link
Contributor

bors commented May 3, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

The job dist-various-1 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
  Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB)
Collecting colorama<=0.3.9,>=0.2.5 (from awscli)
  Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting botocore==1.12.141 (from awscli)
  Downloading https://files.pythonhosted.org/packages/af/72/bb5092d4f8a7b6c9a4508b784cdfed6d856e2a202383c345a66da71cc612/botocore-1.12.141-py2.py3-none-any.whl (5.4MB)
  Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
Requirement already satisfied: pyasn1>=0.1.3 in /usr/lib/python2.7/dist-packages (from rsa<=3.5.0,>=3.1.2->awscli) (0.1.9)
Collecting urllib3<1.25,>=1.20; python_version == "2.7" (from botocore==1.12.141->awscli)
  Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
---
[00:03:58]  ---> 935f81178b9d
[00:03:58] Step 51/56 : ENV TARGETS=$TARGETS,thumbv7neon-unknown-linux-gnueabihf
[00:03:58]  ---> Using cache
[00:03:58]  ---> 160f6ee3d14d
[00:03:58] Step 52/56 : ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc     CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc     CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc     CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc     CC_armebv7r_none_eabi=arm-none-eabi-gcc     CC_armv7a_none_eabi=arm-none-eabi-gcc     CC_armv7a_none_eabihf=arm-none-eabi-gcc     CC_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc     AR_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-ar     CXX_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++
[00:03:58]  ---> 1d86202bd6b5
[00:03:58] Step 53/56 : ENV RUST_CONFIGURE_ARGS       --musl-root-armv5te=/musl-armv5te       --musl-root-arm=/musl-arm       --musl-root-armhf=/musl-armhf       --musl-root-armv7=/musl-armv7       --musl-root-aarch64=/musl-aarch64       --musl-root-mips=/musl-mips       --musl-root-mipsel=/musl-mipsel       --enable-emscripten       --disable-docs
[00:03:58]  ---> Using cache
[00:03:58]  ---> 13f0c5ce979f
---
[01:01:01] travis_time:end:test_run-make:start=1556848545795678502,finish=1556848546214640798,duration=418962296

[01:01:01] [TIMING] Compiletest { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "thumbv7em-none-eabihf", mode: "run-make", suite: "run-make", path: Some("src/test/run-make"), compare_mode: None } -- 0.434
[01:01:01] Build completed successfully in 0:55:15
[01:01:01] + python2.7 ../x.py dist --target asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,thumbv8m.base-none-eabi,thumbv8m.main-none-eabi,thumbv8m.main-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv64imac-unknown-none-elf,riscv64gc-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf,armv7a-none-eabi,armv7a-none-eabihf,thumbv7neon-unknown-linux-gnueabihf
[01:01:03] git could not determine the LLVM submodule commit hash. Assuming that an LLVM build is necessary.
[01:01:03] git could not determine the LLVM submodule commit hash. Assuming that an LLVM build is necessary.
[01:01:03] Dist docs (asmjs-unknown-emscripten)
[01:01:03]  skipping - docs disabled
---
[01:34:27]    Compiling compiler_builtins v0.1.10
[01:34:29] error: failed to run custom build command for `compiler_builtins v0.1.10`
[01:34:29] process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/release/build/compiler_builtins-b32f22b58ab4da0d/build-script-build` (exit code: 101)
[01:34:29] --- stdout
[01:34:29] cargo:rerun-if-changed=build.rs
[01:34:29] cargo:compiler-rt=/cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.10/compiler-rt
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/absvdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/absvsi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/absvti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/addvdi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/addvsi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/addvti3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_cdcmp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_cfcmp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_div0.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_drsub.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/aeabi_frsub.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/apple_versioning.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/bswapdi2.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/bswapsi2.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/clzdi2.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/clzsi2.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/clzti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/cmpdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/cmpti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ctzdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ctzsi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ctzti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/divdc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/divmodsi4.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/divsc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/divxc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/extendhfsf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ffsti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/fixdfsivfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/fixsfsivfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/fixunsdfsivfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/fixunssfsivfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/floatsidfvfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/floatsisfvfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/floatunssidfvfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/floatunssisfvfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/int_util.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/modsi3.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/muldc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/mulsc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/mulvdi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/mulvsi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/mulvti3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/mulxc3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negdf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/negdf2vfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negsf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/negsf2vfp.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negvdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negvsi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/negvti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/paritydi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/paritysi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/parityti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/popcountdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/popcountsi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/popcountti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/powixf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/save_vfp_d8_d15_regs.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/subvdi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/subvsi3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/subvti3.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/switch16.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/switch32.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/switch8.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/switchu8.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/sync_synchronize.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/truncdfhf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/truncdfsf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/truncsfhf2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ucmpdi2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/ucmpti2.c
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/udivmodsi4.S
[01:34:29] cargo:rerun-if-changed=./compiler-rt/lib/builtins/arm/umodsi3.S
[01:34:29] TARGET = Some("armv7a-none-eabihf")
[01:34:29] HOST = Some("x86_64-unknown-linux-gnu")
[01:34:29] HOST = Some("x86_64-unknown-linux-gnu")
[01:34:29] CC_armv7a-none-eabihf = Some("sccache arm-none-eabi-gcc")
[01:34:29] CFLAGS_armv7a-none-eabihf = Some("-ffunction-sections -fdata-sections -fPIC")
[01:34:29] CRATE_CC_NO_DEFAULTS = None
[01:34:29] DEBUG = Some("false")
[01:34:29] CARGO_CFG_TARGET_FEATURE = Some("aclass,dsp,v5te,v6,v6k,v6t2,v7,vfp2,vfp3")
[01:34:29] CC_armv7a-none-eabihf = Some("sccache arm-none-eabi-gcc")
[01:34:29] CFLAGS_armv7a-none-eabihf = Some("-ffunction-sections -fdata-sections -fPIC")
[01:34:29] CRATE_CC_NO_DEFAULTS = None
[01:34:29] CARGO_CFG_TARGET_FEATURE = Some("aclass,dsp,v5te,v6,v6k,v6t2,v7,vfp2,vfp3")
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/absvdi2.o" "-c" "./compiler-rt/lib/builtins/absvdi2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/absvsi2.o" "-c" "./compiler-rt/lib/builtins/absvsi2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/absvti2.o" "-c" "./compiler-rt/lib/builtins/absvti2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/addvdi3.o" "-c" "./compiler-rt/lib/builtins/addvdi3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/addvsi3.o" "-c" "./compiler-rt/lib/builtins/addvsi3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/addvti3.o" "-c" "./compiler-rt/lib/builtins/addvti3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_cdcmp.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_cdcmp.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_cdcmpeq_check_nan.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_cfcmp.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_cfcmp.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_cfcmpeq_check_nan.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_div0.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_div0.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_drsub.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_drsub.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/aeabi_frsub.o" "-c" "./compiler-rt/lib/builtins/arm/aeabi_frsub.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/apple_versioning.o" "-c" "./compiler-rt/lib/builtins/apple_versioning.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/bswapdi2.o" "-c" "./compiler-rt/lib/builtins/arm/bswapdi2.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/bswapsi2.o" "-c" "./compiler-rt/lib/builtins/arm/bswapsi2.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/clzdi2.o" "-c" "./compiler-rt/lib/builtins/arm/clzdi2.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/clzsi2.o" "-c" "./compiler-rt/lib/builtins/arm/clzsi2.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/clzti2.o" "-c" "./compiler-rt/lib/builtins/clzti2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/cmpdi2.o" "-c" "./compiler-rt/lib/builtins/cmpdi2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/cmpti2.o" "-c" "./compiler-rt/lib/builtins/cmpti2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/ctzdi2.o" "-c" "./compiler-rt/lib/builtins/ctzdi2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/ctzsi2.o" "-c" "./compiler-rt/lib/builtins/ctzsi2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/ctzti2.o" "-c" "./compiler-rt/lib/builtins/ctzti2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/divdc3.o" "-c" "./compiler-rt/lib/builtins/divdc3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/divmodsi4.o" "-c" "./compiler-rt/lib/builtins/arm/divmodsi4.S"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/divsc3.o" "-c" "./compiler-rt/lib/builtins/divsc3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/divxc3.o" "-c" "./compiler-rt/lib/builtins/divxc3.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/extendhfsf2.o" "-c" "./compiler-rt/lib/builtins/extendhfsf2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/ffsti2.o" "-c" "./compiler-rt/lib/builtins/ffsti2.c"
[01:34:29] exit code: 0
[01:34:29] running: "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/fixdfsivfp.o" "-c" "./compiler-rt/lib/builtins/arm/fixdfsivfp.S"
[01:34:29] cargo:warning=./compiler-rt/lib/builtins/arm/fixdfsivfp.S: Assembler messages:
[01:34:29] cargo:warning=./compiler-rt/lib/builtins/arm/fixdfsivfp.S:26: Error: selected processor does not support `vmov d7,r0,r1' in ARM mode
[01:34:29] cargo:warning=./compiler-rt/lib/builtins/arm/fixdfsivfp.S:27: Error: selected processor does not support `vcvt.s32.f64 s15,d7' in ARM mode
[01:34:29] cargo:warning=./compiler-rt/lib/builtins/arm/fixdfsivfp.S:28: Error: selected processor does not support `vmov r0,s15' in ARM mode
[01:34:29] 
[01:34:29] --- stderr
[01:34:29] thread 'main' panicked at '
[01:34:29] 
[01:34:29] 
[01:34:29] Internal error occurred: Command "sccache" "arm-none-eabi-gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/armv7a-none-eabihf/release/build/compiler_builtins-84cfe10922db2108/out/./compiler-rt/lib/builtins/arm/fixdfsivfp.o" "-c" "./compiler-rt/lib/builtins/arm/fixdfsivfp.S" with args "arm-none-eabi-gcc" did not execute successfully (status code exit code: 1).
[01:34:29] ', /cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.35/src/lib.rs:2398:5
[01:34:29] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:34:29] 
[01:34:29] warning: build failed, waiting for other jobs to finish...
[01:34:29] warning: build failed, waiting for other jobs to finish...
[01:34:51] [RUSTC-TIMING] core test:false 24.359
[01:34:51] error: build failed
[01:34:51] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "armv7a-none-eabihf" "-j" "4" "--release" "--locked" "--color" "always" "-p" "alloc" "--manifest-path" "/checkout/src/liballoc/Cargo.toml" "--features" "compiler-builtins-mem" "--message-format" "json"
[01:34:51] expected success, got: exit code: 101
[01:34:51] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --target asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,thumbv8m.base-none-eabi,thumbv8m.main-none-eabi,thumbv8m.main-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv64imac-unknown-none-elf,riscv64gc-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf,armv7a-none-eabi,armv7a-none-eabihf,thumbv7neon-unknown-linux-gnueabihf
travis_time:end:1ac76f03:start=1556844885088012966,finish=1556850577582246270,duration=5692494233304
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
travis_time:start:0cc76e2f
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:08c0fca0:start=1556850579164507598,finish=1556850579172757150,duration=8249552
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:18496952
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:01476c00
travis_time:start:01476c00
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:066912c4
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 3, 2019
@Gilnaa
Copy link

Gilnaa commented May 3, 2019

It looks like adding "-march=armv7-a" might fix this, though I'm not sure where to specify this flag.

#60135 (comment)

@Centril Centril closed this May 3, 2019
@Centril Centril deleted the rollup-whygqpp branch May 3, 2019 14:20
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.