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

Update libc version required by rustc #56562

Merged
merged 1 commit into from
Dec 14, 2018

Conversation

pnkfelix
Copy link
Member

@pnkfelix pnkfelix commented Dec 6, 2018

This is meant to be an easy-to-backport fix for #55465

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 6, 2018
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Dec 6, 2018

📌 Commit c6fbf950104d94f133335aeed7dcddaa6f1fecba has been approved by alexcrichton

@bors bors 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 Dec 6, 2018
@he32
Copy link
Contributor

he32 commented Dec 7, 2018

Hm, frustrating -- this one didn't go through and hence didn't make 1.31.0.

@bors
Copy link
Contributor

bors commented Dec 7, 2018

🔒 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 issue-55465-update-libc-version (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 issue-55465-update-libc-version --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 Cargo.lock
CONFLICT (content): Merge conflict in Cargo.lock
Automatic merge failed; fix conflicts and then commit the result.

@bors bors 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 Dec 7, 2018
@Mark-Simulacrum Mark-Simulacrum added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Dec 7, 2018
@Mark-Simulacrum
Copy link
Member

I've nominated this for beta backport (so it'll make 1.32 if we approve); I'm also adding a stable nomination but at least for now I don't believe we've accumulated enough reasons to release a point release.

@Mark-Simulacrum Mark-Simulacrum added the stable-nominated Nominated for backporting to the compiler in the stable channel. label Dec 7, 2018
@bors
Copy link
Contributor

bors commented Dec 10, 2018

☔ The latest upstream changes (presumably #56666) made this pull request unmergeable. Please resolve the merge conflicts.

@pnkfelix
Copy link
Member Author

pnkfelix commented Dec 12, 2018

The version update commit is easy to cherry-pick on its own.

There was a conflict with PR #56666 because that also touched Cargo.lock, and in doing so, it also upgraded the libc to an even more current version...

I assume though that we are not planning on backporting #56666. Therefore:

  • I will leave the beta-nominated and stable-nominated tags on this PR
  • (and will update the PR so that it does not attempt to touch the Cargo.lock, since the version update included here should I think be compatible with the Cargo.lock introduced by PR Update Rustfmt and RLS #56666),
  • And thus I will leave this PR open. If I didn't think we would backport this PR to the beta branch, I would probably just close this PR (Update libc version required by rustc #56562), since I think it would have no effect on the nightly channel given the changes injected by PR Update Rustfmt and RLS #56666.

Whomever does do a backport of this PR (#56562), if such a backport is done at all, should make sure to actually commit any update to the Cargo.lock file on the target branch for the backport.

@pnkfelix pnkfelix force-pushed the issue-55465-update-libc-version branch from c6fbf95 to 8b67eb8 Compare December 12, 2018 15:25
@pnkfelix pnkfelix added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Dec 12, 2018
@alexcrichton
Copy link
Member

@bors: r+

👍

@bors
Copy link
Contributor

bors commented Dec 12, 2018

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
  • There's another pull request that is currently being tested, blocking this pull request: std: Depend directly on crates.io crates #56092

@bors
Copy link
Contributor

bors commented Dec 12, 2018

📌 Commit c6fbf950104d94f133335aeed7dcddaa6f1fecba has been approved by alexcrichton

@bors bors 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 Dec 12, 2018
@alexcrichton alexcrichton added beta-accepted Accepted for backporting to the compiler in the beta channel. 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 Dec 12, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Dec 13, 2018
…rsion, r=alexcrichton

Update libc version required by rustc

This is meant to be an easy-to-backport fix for rust-lang#55465
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
…rsion, r=alexcrichton

Update libc version required by rustc

This is meant to be an easy-to-backport fix for rust-lang#55465
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
…rsion, r=alexcrichton

Update libc version required by rustc

This is meant to be an easy-to-backport fix for rust-lang#55465
bors added a commit that referenced this pull request Dec 14, 2018
Rollup of 14 pull requests (first batch)

Successful merges:

 - #56562 (Update libc version required by rustc)
 - #56609 (Unconditionally emit the target-cpu LLVM attribute.)
 - #56637 (rustdoc: Fix local reexports of proc macros)
 - #56658 (Add non-panicking `maybe_new_parser_from_file` variant)
 - #56695 (Fix irrefutable matches on integer ranges)
 - #56699 (Use a `newtype_index!` within `Symbol`.)
 - #56702 ([self-profiler] Add column for percent of total time)
 - #56708 (Remove some unnecessary feature gates)
 - #56709 (Remove unneeded extra chars to reduce search-index size)
 - #56744 (specialize: remove Boxes used by Children::insert)
 - #56748 (Update panic message to be clearer about env-vars)
 - #56749 (x86: Add the `adx` target feature to whitelist)
 - #56756 (Disable btree pretty-printers on older gdbs)
 - #56789 (rustc: Add an unstable `simd_select_bitmask` intrinsic)

r? @ghost
@bors bors merged commit 8b67eb8 into rust-lang:master Dec 14, 2018
@pietroalbini
Copy link
Member

cc @rust-lang/libs, should this PR be backported to stable (1.31.1)?

@alexcrichton
Copy link
Member

This in an of itself doesn't warrant a point release, but if one is already happening then it's safe for this to be included

@alexcrichton alexcrichton added the stable-accepted Accepted for backporting to the compiler in the stable channel. label Dec 16, 2018
@pietroalbini pietroalbini removed the stable-nominated Nominated for backporting to the compiler in the stable channel. label Dec 17, 2018
@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Dec 17, 2018
bors added a commit that referenced this pull request Dec 18, 2018
[beta] Rollup backports

PRs accepted for backport:

* #56781: Update LLVM submodule
* #56615: Update the book to fix some edition-related bugs
* #56562: Update libc version required by rustc
* #56282: Fix #56237: normalize type before deferred sizedness checking.
* Release notes for Rust 1.31.1

Approved PRs targeting beta:

* #56819: [beta] rustdoc: fix line numbers display for [src] pages
* #56893: [beta] Revert "Update CI-clang to 7.0.0 for Linux dists."

r? @ghost
bors added a commit that referenced this pull request Dec 18, 2018
[stable] 1.31.1 point release

Rust 1.31.1 is scheduled to be released on Thursday 20th, with the following changes:

* #56562: Update libc version required by rustc *(different patch made by me)*
* #56615: Update the book to fix some edition-related bugs
* rls submodule update to [`b379ef7`](rust-lang/rls@b379ef7), including:
  * rust-lang/rls#1170: Fix for common infinte loop regression
  * rust-lang/rls#1171: Can't jump to std defs

r? @Mark-Simulacrum
cc @rust-lang/core @rust-lang/release
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Dec 22, 2018
Pkgsrc changes:
 * Sadly, I had to reinstate the "make tar files" rust code to make
   it possible to build cross-compiled bootstrap kits.
 * Add an adjustable "BUILD_TARGET", "dist" for cross-building
   a bootstrap kit, "build" for a normal native build.
 * New bootstrap kits built for NetBSD/powerpc, NetBSD/earmv7hf,
   and NetBSD/sparc64 version 1.31.1.
 * gcc-wrap script amended to also drop -Wl,--enable-new-dtags
   (so it could be used outside pkgsrc)
 * Worked around use of AtomicU64 in release build tool (ugly band-aid patch).
   Some platforms lack support for that type and associated operations.

Upstream changes:
 - [Fix Rust failing to build on `powerpc-unknown-netbsd`][56562]
 - [Fix broken go-to-definition in RLS][rls/1171]
 - [Fix infinite loop on hover in RLS][rls/1170]

[56562]: rust-lang/rust#56562
[rls/1171]: rust-lang/rls#1171
[rls/1170]: rust-lang/rls#1170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. stable-accepted Accepted for backporting to the compiler in the stable channel. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants