GNU bug report logs -
#43745
[PATCH] gnu: dune: Update to 2.7.1.
Previous Next
Reported by: Julien Lepiller <julien <at> lepiller.eu>
Date: Thu, 1 Oct 2020 13:46:02 UTC
Severity: normal
Tags: patch
Done: Julien Lepiller <julien <at> lepiller.eu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Julien,
Wow! Thank you for this detailed investigation.
On Tue, 13 Oct 2020 at 04:03, Julien Lepiller <julien <at> lepiller.eu> wrote:
> So, my hypothesis is that dune is building files out of order, but lets
> ocaml read the generated cmi files. Since the build is not in order,
> when it builds the same file in two different builds, the cmi are not
> the same and the result is different. Since dune will always use all
> my cores, I used a trick I learned from LFS:
>
> echo 0 > /sys/devices/system/cpu/cpu1/online
> (and similar for every other core, except cpu0)
>
> This way, I have a single-core machine and, hopefully, dune runs
> sequentially. This time, --rounds=2 passed (after removing the existing
> store item of course).
Where do you this “echo 0 > /sys/devices/system/cpu/cpu1/online“ to
disable all except cpu0? Because, I have tried as root on my 4 cpu
machine and then “./pre-inst-env guix build ocaml-migrate-parsetree
–no-grafts –check“ still returns an error.
Cheers,
simon
This bug report was last modified 4 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.