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 cargo #88956

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Update cargo #88956

merged 1 commit into from
Sep 17, 2021

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Sep 15, 2021

13 commits in e515c3277bf0681bfc79a9e763861bfe26bb05db..33ee5f82edb50af87b952c5b28de0f5fb41ebf18
2021-09-08 14:32:15 +0000 to 2021-09-17 13:51:54 +0000

@ehuss ehuss self-assigned this Sep 15, 2021
@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • These commits modify submodules.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 15, 2021
@ehuss
Copy link
Contributor Author

ehuss commented Sep 15, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Sep 15, 2021

📌 Commit 4be29a871ea86dcf973eaee0227837163009a6ad has been approved by ehuss

@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 Sep 15, 2021
@ehuss
Copy link
Contributor Author

ehuss commented Sep 15, 2021

@bors r-

@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 Sep 15, 2021
@ehuss
Copy link
Contributor Author

ehuss commented Sep 15, 2021

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Sep 15, 2021

📌 Commit d5307604d0e92663c527a7bed9b9fc190e28bb4e has been approved by ehuss

@bors
Copy link
Contributor

bors commented Sep 15, 2021

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

@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 Sep 15, 2021
@bors
Copy link
Contributor

bors commented Sep 16, 2021

⌛ Testing commit d5307604d0e92663c527a7bed9b9fc190e28bb4e with merge 4f31c8fd62cbae7b8912b7598f5232587348efa0...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Sep 16, 2021

💔 Test failed - checks-actions

@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 Sep 16, 2021
@alexcrichton
Copy link
Member

Continuing this here since this may be the best place for this.

Looking into this I'm confused what's happening. The undefined symbols are in Curl_auth_create_digest_md5_message and it includes symbols from bufref.c and also vauth.c. The vauth.c is built (via build.rs) on Windows and for the spnego feature (neither of which I think is applicable here). The bufref.c is only built on Windows. This means that indeed the build script isn't building the symbols required by Curl_auth_create_digest_md5_message. That being said the md5 function is only called by one other function in curl, Curl_sasl_continue, which is part of curl_sasl.c which is never built by build.rs. This means that there shouldn't actually be any dependencies on Curl_auth_create_digest_md5_message which is probably why this works on other targets (the --gc-sections linker argument coupled with the -ffunction-sections argument should ensure that Curl_auth_create_digest_md5_message is gc'd away and we ignore its unresolved symbols).

This means that the bug here could be in the illumos-specific toolchain. I see that gcc 8.4.0 is being used with binutils 2.25.1. Those aren't really all that old and I just built and ran tests for curl in a ubuntu:14.04 container which uses gcc 4.8.4 and binutils 2.24 and everything worked out ok. My best guess at this point is that maybe one of the illumos-specific libraries references curl symbols and expects to get the system curl but ends up getting our more-incomplete bundled version. I... don't know why that would happen though.

I'll try to build the illumos container locally with this PR and dig further.

@alexcrichton
Copy link
Member

Well silly me should have checked this first. The --gc-sections flag isn't passed on illumos due to its configuration of linker_is_gnu: false. I'll go try to add CI for this in the curl crate.

@ehuss
Copy link
Contributor Author

ehuss commented Sep 17, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Sep 17, 2021

📌 Commit 1626fee has been approved by ehuss

@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 Sep 17, 2021
@bors
Copy link
Contributor

bors commented Sep 17, 2021

⌛ Testing commit 1626fee with merge 9dd4ce8...

@bors
Copy link
Contributor

bors commented Sep 17, 2021

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 9dd4ce8 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 17, 2021
@bors bors merged commit 9dd4ce8 into rust-lang:master Sep 17, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 17, 2021
@Mark-Simulacrum
Copy link
Member

For any perf triagers noticing the bootstrap and wall time improvement from this PR, it is almost certainly due to enabling performance rather than on demand cpu frequency governor on the perf collector. I think this got disabled by accident at some point (likely after a reboot).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: 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.

7 participants