Skip to content

Reduce default configuration's dependency upon static libstdcpp library (#103606) - #104245

Closed
kubycsolutions wants to merge 2 commits into
rust-lang:masterfrom
kubycsolutions:master
Closed

Reduce default configuration's dependency upon static libstdcpp library (#103606)#104245
kubycsolutions wants to merge 2 commits into
rust-lang:masterfrom
kubycsolutions:master

Conversation

@kubycsolutions

@kubycsolutionskubycsolutions commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

Fixes#103606

Remove default dependency on static libstdcpp except during dist llvm builds (where we want static libraries so libLLVM.so is self-contained).

@rustbot

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jyn514 (or someone else) soon.

Please see the contribution instructions for more information.

@rustbotrustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 10, 2022
@rust-log-analyzer

This comment has been minimized.

@jyn514jyn514 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good! r=me if my fix gets CI to pass :)

Comment threadconfig.toml.example Outdated
Comment threadsrc/ci/run.sh Outdated
@jyn514jyn514 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-review Status: Awaiting review from the assignee but also interested parties. labels Nov 10, 2022
@jyn514

Copy link
Copy Markdown
Member

looks like it got past ./configure :) can you squash the commits? https://rustc-dev-guide.rust-lang.org/git.html#advanced-rebasing
r=me with that done

@the8472

Copy link
Copy Markdown
Member

The PR title could be better, I think that ends up in the git history.

@kubycsolutionskubycsolutions changed the title Alternative fix, hopefully simpler.Reduce default configuration's dependency upon static libstdcpp library (#103606)Nov 10, 2022
@kubycsolutions

Copy link
Copy Markdown
ContributorAuthor

PR title/description improved; thanks for catching that.

@jyn514

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Nov 10, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 84585b466a14d5f1cca889f105a08186b9083818 has been approved by jyn514

It is now in the queue for this repository.

@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 Nov 10, 2022
@fbstj

Copy link
Copy Markdown
Contributor

this still needs squashing?

@kubycsolutions

Copy link
Copy Markdown
ContributorAuthor

When I now try to run "git rebase --interactive master", the control file comes up with "noop" where I would expect to see a list of commits. But I'm still seeing 6 commits at the top of this page. So I'm not sure what my current state is...

(This is one reason my group was using the "squash as you merge" option -- it does seem to offer fewer opportunities for error.)

Usually, we do want to use the static C++ library when building rustc_llvm, but do not want to have that dependency at compiler runtime. Change the defaults to Make It So.
@kubycsolutions

Copy link
Copy Markdown
ContributorAuthor

Should now be squashed.

@jyn514

Copy link
Copy Markdown
Member

@bors r- r+

@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 Nov 11, 2022
@bors

bors commented Nov 11, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit b8edf02 has been approved by jyn514

It is now in the queue for this repository.

@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 Nov 11, 2022
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Nov 11, 2022
Reduce default configuration's dependency upon static libstdcpp library (rust-lang#103606)
Fixesrust-lang#103606
Remove default dependency on static libstdcpp except during dist llvm builds (where we want static libraries so `libLLVM.so` is self-contained).
@Dylan-DPCDylan-DPC mentioned this pull request Nov 11, 2022
@jyn514

Copy link
Copy Markdown
Member

@kubycsolutions you don't need to make any further changes to this PR, it's already been approved :)

@kubycsolutions

Copy link
Copy Markdown
ContributorAuthor

There had been grumbles about it not being Squashed, and I was having a bit of trouble remembering the syntax for that.... Should be done with it now,

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 11, 2022
Rollup of 9 pull requests
Successful merges:
- rust-lang#100633 (Consider `#[must_use]` annotation on `async fn` as also affecting the `Future::Output`)
- rust-lang#103445 (`#[test]`: Point at return type if `Termination` bound is unsatisfied)
- rust-lang#103924 (Fix broken link in description of error code E0706)
- rust-lang#104146 (Retry binding TCP Socket in remote-test-server)
- rust-lang#104169 (Migrate `:target` rules to use CSS variables)
- rust-lang#104202 (Fix ICE rust-lang#103748)
- rust-lang#104216 (Don't ICE on operator trait methods with generic methods)
- rust-lang#104217 (Display help message when fluent arg was referenced incorrectly)
- rust-lang#104245 (Reduce default configuration's dependency upon static libstdcpp library (rust-lang#103606))
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@jyn514

Copy link
Copy Markdown
Member

Merged in #104289

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiler build depends on libstdc++-static

7 participants

@kubycsolutions@rustbot@rust-log-analyzer@jyn514@the8472@bors@fbstj