!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

You have reached the beginning of time (for this room).


SenderMessageTime
25 Jan 2023
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu* wow, that's a lot of haskell libraries. I had forgotten that GHC object files are not reproducible. are there any recent developments about this?09:59:05
@atemu12:matrix.orgatemu12Perhaps you could ask nh2, they're into GHC stuff10:00:03
@raboof:matrix.orgraboofI didn't notice much activity in https://github.com/NixOS/nixpkgs/issues/151347 / https://gitlab.haskell.org/ghc/ghc/-/issues/1293510:06:54
@raboof:matrix.orgraboofthough it seems it doesn't necessarily impact all haskell builds? there's quite some green ones in https://reproducible.archlinux.org/10:09:53
@raboof:matrix.orgraboof quick experiment: haskellPackages.void seems reproducible for us as well 10:10:58
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eucould it be related to parallel builds/optimisation level?10:11:21
@raboof:matrix.orgraboofyeah single threaded builds seem more reliable but also quite a price to pay (https://github.com/NixOS/nixpkgs/issues/151347#issuecomment-997817696, https://gitlab.haskell.org/ghc/ghc/-/issues/12935#note_373865)10:13:26
@raboof:matrix.orgraboofperhaps an option for some small/fast modules that are currently unreproducible, but it might be good to put some energy in looking into the upstream ghc problem(s?) as well10:21:14
@atemu12:matrix.orgatemu12Perhaps we could make a haskellPackagesReproducible set where parallel builds are off and use that in the ISO10:45:22
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.euI think the problem is that the most commonly used libraries are not particularly small (pandoc, lens, aeson, etc). ~100 modules is typical10:45:43
@baloo_:matrix.orgbaloo
In reply to @raboof:matrix.org
yeah single threaded builds seem more reliable but also quite a price to pay (https://github.com/NixOS/nixpkgs/issues/151347#issuecomment-997817696, https://gitlab.haskell.org/ghc/ghc/-/issues/12935#note_373865)
could that be that the objects needs to be fed in a deterministic order to the linker? It looks like the linker just gets them in random order and slaps them together.
17:31:02

Show newer messages


Back to Room ListRoom Version: 6