!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

539 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30125 Servers

Load older messages


SenderMessageTime
26 May 2021
@zimbatm:numtide.comJonas Chevalier * I think both approaches are complementary08:06:51
@zimbatm:numtide.comJonas Chevalierthere is also the Gnu MES project that tries to bootstrap from a few bytes of verified assembly code08:07:47
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusIm going to be real with you - I think GNU MES is a cool idea, but not really realistic. Creates more problems than it solves08:08:39
@zimbatm:numtide.comJonas Chevalierit's a cool idea though08:09:14
@zimbatm:numtide.comJonas Chevalierbootstrapping is an exercise of balance08:09:37
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusAnd technically with additional stage we would never need to update boostrap tools 🤔 Unless ABIs were to become incompatible08:09:41
@zimbatm:numtide.comJonas Chevalierwe had that a while back with Go08:10:14
@zimbatm:numtide.comJonas Chevalierthe original Go could be compiled with C08:10:26
@zimbatm:numtide.comJonas Chevalierthen the next version with the previous one08:10:33
@zimbatm:numtide.comJonas Chevalierat some point we had a stack of 8 versions, each compiled by the previous version08:10:55
@raboof:matrix.orgraboofI guess we should add a NixOS page to https://reproducible-builds.org/contribute/ - I'll have a stab over my lunch break :)08:10:52
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusAnyways, what you guys think next steps are with this? https://github.com/NixOS/nixpkgs/issues/12346708:13:02
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusShould I just start working on POC with additional stage?08:13:34
@zimbatm:numtide.comJonas Chevalierwe don't really have a team that owns the bootstrap phase08:20:10
@zimbatm:numtide.comJonas Chevalierusually the best thing to do is to present a clean plan with motivation08:21:30
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius

Could you elaborate on that? Here are few questions that come up:

  • How should it be shaped? Is issue enough or should it be RFC?
  • Does it need to include POC?
08:23:33
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius *

Could you elaborate on that? Here are few questions that come up:

  • How should it be shaped? Is github issue file or should it be RFC?
  • Does it need to include POC?
08:24:01
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius *

Could you elaborate on that? Here are few questions that come up:

  • How should it be shaped? Is github issue fine or should it be RFC?
  • Does it need to include POC?
08:24:08
@zimbatm:numtide.comJonas ChevalierI'm still not sure what problem it's solving. I get that the previous GCC version is leaking, but why is it a problem.08:28:15
@zimbatm:numtide.comJonas ChevalierI know I'm being annoying :)08:29:34
@raboof:matrix.orgraboofRFC seems overkill in this stage, a GitHub issue might not be noticed - perhaps a discourse topic seem most suitable? I agree a clear motivation (or even better, an assessment of pro's and con's?) is important.08:30:19
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @zimbatm:numtide.com
I'm still not sure what problem it's solving. I get that the previous GCC version is leaking, but why is it a problem.

Motivation:
Avoid nixpkgs lieing, especially with glibc and to gain latest compiler optimizations. In addition to these two points - this will allow us to pretty much never update bootstrap tools.

Technically nothing major, just super not nice from my point of view

08:31:18
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @raboof:matrix.org
RFC seems overkill in this stage, a GitHub issue might not be noticed - perhaps a discourse topic seem most suitable? I agree a clear motivation (or even better, an assessment of pro's and con's?) is important.
Will do!
08:31:41
@andi:kack.itandi-Wait, we didn't bump the bootstrap tools to GCC10 when we did the upgrade? Was it simply skipped or did we run into actual problems?09:37:23
@andi:kack.itandi-In any case didn't we have the bootstrapTarballs jobs to exactly get rid of the manual tasks with bumping them? We have to put the files on a bucket but that is about it, no?09:38:48
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @andi:kack.it
Wait, we didn't bump the bootstrap tools to GCC10 when we did the upgrade? Was it simply skipped or did we run into actual problems?
Currently bootstrap tools uses GCC8. It was not bumped because this is something that is not expected to be done due to NixOS trust issues <3
09:38:49
@andi:kack.itandi-We are using hydra to build new version of bootstrap tools it should be as trustworthy as any other hydra output09:39:21
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius

https://github.com/NixOS/nixpkgs/issues/123467#issuecomment-843264782

Bootstrapping tools have inherent trust complications, so it makes sense not to update them too often.
And I more or less agree with him

09:40:34
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius *

https://github.com/NixOS/nixpkgs/issues/123467#issuecomment-843264782

Bootstrapping tools have inherent trust complications, so it makes sense not to update them too often.

And I more or less agree with him

09:40:39
@andi:kack.itandi-I agree that we shouldn't bump them too often but given that we have a clear path how they were obtained and if that solves an issue, why not?09:44:04

Show newer messages


Back to Room ListRoom Version: 6