| 20 Jul 2022 |
John Ericson | the other pkgs/stdenv/* is basically just legacy bootstrapping nonsense that could be gotten rid of fairly easy after the compilers are repackaged | 17:24:07 |
John Ericson | it is mass rebuild, but not a mass-refactor downstream packages like e.g. switching from bash or switching to structured attrs is | 17:24:35 |
infinisil | Ahh, so that's essentially stdenv.mkDerivation, we've been discussing that a bit | 17:25:03 |
Robert Hensing (roberth) | In reply to @infinisil:matrix.org Ahh, so that's essentially stdenv.mkDerivation, we've been discussing that a bit not to be confused with the other issue, which doesn't care about what's in stdenv, but focuses on the nix side of things | 17:25:53 |
Gytis Ivaskevicius | John Ericson: the whole gcc PR has been hanging for a while, is there anything that we could help with? Also how would that get rid of 'whole nonsense'? to me it seems at best we could remove 1 stage | 17:26:38 |
John Ericson | Gytis Ivaskevicius: basically we make buildPackages use bootstrap tools, but not pkgs | 17:27:07 |
John Ericson | and then the cross stuff should just figure out how to make sure we never depend on bootstrap tools | 17:27:31 |
John Ericson | Gytis Ivaskevicius: there is some -fpic nonsense that still needs to be figured out | 17:27:43 |
John Ericson | I don't know why linking claims there is an inconsistency | 17:27:53 |
John Ericson | I wish it was easy to rope in some upstream person and have them explain | 17:28:10 |
Gytis Ivaskevicius | oh, so this would make it easier for us to build minimal pkgs and basically to complie gcc -> recomplie -> done | 17:28:35 |
John Ericson | yeha | 17:30:19 |
John Ericson | * yeah | 17:30:21 |
John Ericson | bootstrap tools would probably ship no libs just raw gcc | 17:30:30 |
John Ericson | then rebuild libgcc and up | 17:30:37 |
John Ericson | then build new gcc | 17:30:45 |
John Ericson | done | 17:30:46 |
John Ericson | also, screw boostrap tools | 17:30:52 |
John Ericson | let's do the guix thing | 17:30:56 |
John Ericson | much better | 17:31:00 |
infinisil | What do they do? | 17:31:09 |
K900 | Yo how did we go from "let's move some files around" to "let's build a new bootstrap" | 17:31:14 |
John Ericson | they are trying to bootstrap from nothing | 17:31:18 |
infinisil | There has to be something! | 17:31:33 |
John Ericson | K900: well, these are all the nice things mostly blocked on compilers being packaged well | 17:31:55 |
John Ericson | also the guix thing is much better with content-addressed derivations to avoid rebuilds | 17:32:07 |
John Ericson | which in turn requires hydra stuff | 17:32:13 |
John Ericson | maybe now that eelco is with graham that can happen | 17:32:24 |
infinisil | We shouldn't block ourselves on Nix though | 17:32:54 |
Gytis Ivaskevicius | In reply to @k900:0upti.me Yo how did we go from "let's move some files around" to "let's build a new bootstrap" John Ericson: is a very charming man, please let him continue charming us with low level nix legacy <3 | 17:33:09 |