[GHC] #4012: Compilation results are not deterministic

GHC ghc-devs at haskell.org
Mon Sep 1 19:58:23 UTC 2014


#4012: Compilation results are not deterministic
-------------------------------------+-------------------------------------
              Reporter:  kili        |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  6.12.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Difficult (2-5
       Type of failure:  Other       |  days)
             Test Case:              |       Blocked By:
              Blocking:              |  Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by nh2):

 Another setback for this ticket is that parallel builds, e.g. `ghc -j4`,
 make builds non-deterministic.

 The generated closure names (`r4WO_closure...`, `r5BF_closure...`) vary
 with `-j` but don't without.

 Does anybody have an idea on how we could make sure that they are not "as
 shared", so that the names generated do not depend on the concurrency of
 the build?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4012#comment:54>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list