Skip to content

darwin.cctools: 949.0.1 -> 973.0.1 - #185656

Merged
toonn merged 1 commit into
NixOS:stagingfrom
stephank:feat/cctools
Oct 6, 2022
Merged

toonn merged 1 commit into
NixOS:stagingfrom
stephank:feat/cctools

Conversation

@stephank

@stephank stephank commented Aug 8, 2022 •

Copy link
Copy Markdown
Contributor
Description of changes

I originally did this to see if I could fix a linker assertion failure I'm seeing, but it unfortunately didn't help. Still, I believe the upgrade is useful by itself, if only so we take upgrades step-by-step?

Did a successful rebuild of stdenv on x86_64-darwin.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg Bot added 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. labels Aug 8, 2022
@ofborg
ofborg Bot requested a review from matthewbauer August 8, 2022 11:06
@ofborg ofborg Bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Aug 8, 2022

@toonn toonn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bobby285271 bobby285271 added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 4, 2022
@toonn
toonn merged commit ee71ac6 into NixOS:staging Oct 6, 2022
@vcunat

vcunat commented Oct 18, 2022

Copy link
Copy Markdown
Member

@stephank
stephank deleted the feat/cctools branch October 18, 2022 20:33
@stephank

Copy link
Copy Markdown
Contributor Author

Huh, that's weird. I do often use Rust, but don't know a lot about rustc itself. However, it looks like that error is about the prebuilt bootstrap rustc failing to parse the prebuilt libcore? Which is strange, because none of it is produced by a Nix toolchain.

I can try investigate a bit more later, but depending on your schedule for staging-next, we may have to simply revert at some point. There is not an immediate need for this upgrade for me personally, and I've only seen one other person mention it out of curiosity if it maybe fixed a crash.

@vcunat

vcunat commented Oct 19, 2022

Copy link
Copy Markdown
Member

I'd revert temporarily, but unfortunately rebuilding all of *-darwin takes lots of time either way. Schedule is always like... merge when not too many regressions (or missing binaries).

@winterqt

winterqt commented Oct 19, 2022 •

Copy link
Copy Markdown
Member

Relevant errors are towards the top, the rest seem to be caused by these:

note: no .rmeta section in '/nix/store/bk40ma6mzdc4abjr68gjq7vg44c71xda-rustc-bootstrap-1.63.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-1fc8833aab60d522.rlib'

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

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants