| 26 May 2021 |
| matthewcroughan - nix.zone joined the room. | 01:33:02 |
Gytis Ivaskevicius | Just droping this off here, may spike up few discussions: https://github.com/NixOS/nixpkgs/issues/123467
I'd imagine that it is very much possible to add additional stage which would take less than 15min to compile | 07:30:52 |
Jonas Chevalier | Gytis Ivaskevicius: my impression is that you want to bump the boostrap tools to GCC10 | 07:54:10 |
Gytis Ivaskevicius | At this point there is no point in doing so | 07:54:33 |
Gytis Ivaskevicius | I am interested in "proper fix" noted in the issue | 07:54:46 |
Jonas Chevalier | instead of adding another stage, maybe the bump could be simplified | 07:54:48 |
Jonas Chevalier | that would have the advantage of not adding more build time | 07:55:10 |
Gytis Ivaskevicius | In reply to @zimbatm:numtide.com instead of adding another stage, maybe the bump could be simplified I am not sure if I get what you mean? | 07:55:13 |
Jonas Chevalier | the reason why the bootstrap tools are not to the latest version is that they require some manual intervention | 07:55:53 |
Gytis Ivaskevicius | In case we are performing "quick fix" (bootstrap bump) - that would mean that it should get bumped every single release (assuming each release uses different gcc) | 07:55:59 |
Gytis Ivaskevicius | well, that is assuming that we wish to fix compiler mismatch | 07:57:17 |
Jonas Chevalier | it's not super clear what the problem is from your perspective | 07:59:27 |
Gytis Ivaskevicius |  Download image.png | 08:00:16 |
Gytis Ivaskevicius | We are missing out on compiler optimizations (not sure how big of a difference that makes). And overall this just feels as if nixpkgs is lieing | 08:01:09 |
Gytis Ivaskevicius | "21.05 - Updated GCC to version 10.3" | 08:01:49 |
Gytis Ivaskevicius |  Download image.png | 08:02:08 |
Gytis Ivaskevicius | :D | 08:02:10 |
Gytis Ivaskevicius | And dam, thats amassive image | 08:02:27 |
Gytis Ivaskevicius | * And dam, thats a massive image | 08:02:41 |
Jonas Chevalier | right, so gmp is still only compiled with GCC8 | 08:02:42 |
Gytis Ivaskevicius | In reply to @zimbatm:numtide.com right, so gmp is still only compiled with GCC8 gmp, mpfr, glibc, mpr | 08:03:02 |
Jonas Chevalier | that's what I'm saying. If it was easier to update the bootstrap tools, we could do have them also built with gcc 10 | 08:03:37 |
Jonas Chevalier | it wouldn't be the exact same GCC 10 but that doesn't really make a difference in terms of perf | 08:04:19 |
Gytis Ivaskevicius | Yes, that would work. But is this really a solution? This would mean updating bootstrap tools with every major gcc update | 08:04:41 |
Jonas Chevalier | I think both things are complementary | 08:06:43 |
Jonas Chevalier | * I think both approaches are complementary | 08:06:51 |
Jonas Chevalier | there is also the Gnu MES project that tries to bootstrap from a few bytes of verified assembly code | 08:07:47 |
Gytis Ivaskevicius | Im going to be real with you - I think GNU MES is a cool idea, but not really realistic. Creates more problems than it solves | 08:08:39 |
Jonas Chevalier | it's a cool idea though | 08:09:14 |
Jonas Chevalier | bootstrapping is an exercise of balance | 08:09:37 |