stdenv/darwin: put compiler-rt into bootstrap tarball#94426
stdenv/darwin: put compiler-rt into bootstrap tarball#94426thefloweringash wants to merge 1 commit intoNixOS:masterfrom
Conversation
compiler-rt is no longer included in clang, so the current result of building bootstrap tools doesn't include compiler-rt at all.
|
The main problem I'm seeing with trying to update the bootstrap tools without both of these changes is The curl with the undefined |
|
Quick sanity check: libclang_rt differences from current bootstrap tools to currently generated bootstrap toolslibclang_rt differences from currently generated bootstrap tools (
|
|
/cc @LnL7 |
LnL7
left a comment
There was a problem hiding this comment.
I mentioned this before on irc, but I think this is more of a bootstrapping issue. Keeping as much as possible out of the bootstrap tarball makes bootstrapping more flexible and simplifies introducing a new architecture.
All that said I don't see a particularly big problem with adding compiler-rt.
As I understand it,
Not sure if I made this clear, but the current bootstrap tools contain compiler-rt. I think it was removed from the generator by #39743 as part of a clang refactoring. This change is to intended to keep the structure of the current bootstrap tools. |
|
What is the status of the PR? I'm not an expert in this area, but the change (including more of the already build llvmPackages code) doesn't seem like it can introduce issues (except for increasing the surface area of the bootstrap tarball), so I think it's worth including as it solves real issues. |
|
@ofborg eval |
|
This was subsumed by bootstrap changes in #105026. |
compiler-rt is no longer included in clang, so the current result of
building bootstrap tools doesn't include compiler-rt at all.
Motivation for this change
I want to update bootstrap tools soon as part of #19906, but just doing the update results in a subtly broken early toolchain. It looks like the bootstrap tools builder needs a small update. This is the first part that puts the required parts into the tarball, there's a follow up that fixes the unpacking stage.
This defines a new set of bootstrap tools, see #94427 for the "other half" that uses the updated bootstrap tools.
Possibly related #39743
cc @matthewbauer and @LnL7 who seem to work on the bootstrap files
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)