Skip to content

Update the compiler_builtins crate - #60841

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:update-compiler-builtins
May 17, 2019
Merged

Update the compiler_builtins crate#60841
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:update-compiler-builtins

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This updates to 0.1.13 for compiler_builtins, published to fix a few
issues. The feature changes here are updated because compiler_builtins
no longer enables the c feature by default but we want to do so
through our build still.

Closes#60747
Closes#60782

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @aidanhs

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 14, 2019
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

r? @RalfJung

@rust-highfive

Copy link
Copy Markdown
Contributor

The job x86_64-gnu-llvm-6.0 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.
travis_time:end:2d34fd00:start=1557870375433599379,finish=1557870376303972626,duration=870373247
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout
Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
#################### 29.1%
######################################################################## 100.0%
[00:01:56] extracting /checkout/obj/build/cache/2019-04-11/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
[00:01:56] Updating crates.io index
[00:02:13] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:02:13] Build completed unsuccessfully in 0:00:32
[00:02:13] make: *** [prepare] Error 1
[00:02:13] Makefile:69: recipe for target 'prepare' failed
[00:02:14] Command failed. Attempt 2/5:
[00:02:14] Command failed. Attempt 2/5:
[00:02:14] Updating crates.io index
[00:02:15] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:02:15] Build completed unsuccessfully in 0:00:00
[00:02:15] Makefile:69: recipe for target 'prepare' failed
[00:02:15] make: *** [prepare] Error 1
[00:02:17] Command failed. Attempt 3/5:
[00:02:17] Command failed. Attempt 3/5:
[00:02:17] Updating crates.io index
[00:02:17] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:02:17] Build completed unsuccessfully in 0:00:00
[00:02:17] make: *** [prepare] Error 1
[00:02:17] Makefile:69: recipe for target 'prepare' failed
[00:02:20] Command failed. Attempt 4/5:
[00:02:20] Command failed. Attempt 4/5:
[00:02:21] Updating crates.io index
[00:02:21] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:02:21] Build completed unsuccessfully in 0:00:00
[00:02:21] make: *** [prepare] Error 1
[00:02:21] Makefile:69: recipe for target 'prepare' failed
[00:02:25] Command failed. Attempt 5/5:
[00:02:25] Command failed. Attempt 5/5:
[00:02:25] Updating crates.io index
[00:02:26] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:02:26] Build completed unsuccessfully in 0:00:00
[00:02:26] make: *** [prepare] Error 1
[00:02:26] Makefile:69: recipe for target 'prepare' failed
[00:02:26] The command has failed after 5 attempts.
---
travis_time:end:35a9f1c8:start=1557870535799193293,finish=1557870535804576672,duration=5383379
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0ea1335e
$ 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:16c0ae80
travis_time:start:16c0ae80
$ 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:062f90f8
$ 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)

@alexcrichton
alexcrichtonforce-pushed the update-compiler-builtins branch from e078a70 to 0998c63CompareMay 14, 2019 21:50
@RalfJung

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented May 15, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 0998c63bf2d9a8541242043d8f099b62ecf1b565 has been approved by RalfJung

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2019
@alexcrichton
alexcrichtonforce-pushed the update-compiler-builtins branch from 0998c63 to 616a3ffCompareMay 15, 2019 21:50
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

Updating again to pull in rust-lang/compiler-builtins#293

@bors: r=RalfJung

@bors

bors commented May 15, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 616a3ff7171e01729c11482396e44d491142e0fd has been approved by RalfJung

@alexcrichton
alexcrichtonforce-pushed the update-compiler-builtins branch from 616a3ff to 9efaa29CompareMay 16, 2019 15:17
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

Updated again to pull in rust-lang/compiler-builtins#294

@bors: r=RalfJung

@bors

bors commented May 16, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 9efaa294c55ade0df3ca963cdd358a3b6d4a5201 has been approved by RalfJung

@cuviper

Copy link
Copy Markdown
Member

Note that bootstrap.py currently doesn't initialize src/llvm-project if you've configured an external LLVM. Are we going to always require that checkout now? Or should there be a way to use an external (possibly precompiled) compiler-rt too?

@alexcrichton
alexcrichtonforce-pushed the update-compiler-builtins branch from 9efaa29 to 616a3ffCompareMay 16, 2019 19:57
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

Hm that's an excellent point @cuviper, thanks for bringing it up! In the interest of landing bug fixes sooner I'm gonna submit that as a separate change and go back to 0.1.14 which only fixes the bugs that are plaguing master right now.

@alexcrichton

Copy link
Copy Markdown
MemberAuthor

@bors: r=RalfJung

@bors

bors commented May 16, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 616a3ff7171e01729c11482396e44d491142e0fd has been approved by RalfJung

@Centril

Copy link
Copy Markdown
Contributor

@bors p=1

@bors

bors commented May 17, 2019

Copy link
Copy Markdown
Collaborator

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout update-compiler-builtins(switch to your branch)
  2. git fetch upstream master(retrieve the latest master)
  3. git rebase upstream/master -p(rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self update-compiler-builtins --force-with-lease(update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
warning: Cannot merge binary files: Cargo.lock (HEAD vs. heads/homu-tmp)
Auto-merging src/libstd/Cargo.toml
Auto-merging Cargo.lock
CONFLICT (content): Merge conflict in Cargo.lock
Automatic merge failed; fix conflicts and then commit the result.

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 17, 2019
This updates to 0.1.13 for `compiler_builtins`, published to fix a few
issues. The feature changes here are updated because `compiler_builtins`
no longer enables the `c` feature by default but we want to do so
through our build still.
Closesrust-lang#60747Closesrust-lang#60782
@alexcrichton
alexcrichtonforce-pushed the update-compiler-builtins branch from 616a3ff to 3c9790eCompareMay 17, 2019 14:17
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

@bors: r=RalfJung

@bors

bors commented May 17, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 3c9790e has been approved by RalfJung

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 17, 2019
@bors

bors commented May 17, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 3c9790e with merge 823a75d...

bors added a commit that referenced this pull request May 17, 2019
Update the compiler_builtins crate
This updates to 0.1.13 for `compiler_builtins`, published to fix a few
issues. The feature changes here are updated because `compiler_builtins`
no longer enables the `c` feature by default but we want to do so
through our build still.
Closes#60747Closes#60782
@bors

bors commented May 17, 2019

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 823a75d to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label May 17, 2019
@bors
bors merged commit 3c9790e into rust-lang:masterMay 17, 2019
@alexcrichton
alexcrichton deleted the update-compiler-builtins branch May 17, 2019 19:01
@mati865mati865 mentioned this pull request May 19, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linker error "undefined symbol: __aeabi_uidiv" for target thumbv6m-none-eabi Cannot create rv64gc binary anymore since nightly-2019-05-10

7 participants

@alexcrichton@rust-highfive@RalfJung@bors@cuviper@Centril@aidanhs