-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[bootstrap]: fix stage1 build on nixos and improve download robustness #127620
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.O-NixOSOperating system: NixOS, https://nixos.org/Operating system: NixOS, https://nixos.org/T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.O-NixOSOperating system: NixOS, https://nixos.org/Operating system: NixOS, https://nixos.org/T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
sorry for not formatting this as a PR, but i'm in the middle of drafting another PR, and i don't think i can split this into its own branch without making that pr unmergable.
this fixes an error where building stage1 on nixos would produce a
rustcbinary that is dynamically linked tolibstdc++, but this dependency does not get patched, so the executable cannot be run without usingLD_LIBRARY_PATHhacks.