[GHC] #10159: cabal build/ghc compiler causes sudden hard reboot of my computer!
GHC
ghc-devs at haskell.org
Sat Aug 1 12:51:19 UTC 2015
#10159: cabal build/ghc compiler causes sudden hard reboot of my computer!
---------------------------------+-----------------------------------------
Reporter: jamshid | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.4
Resolution: worksforme | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
---------------------------------+-----------------------------------------
Changes (by thomie):
* status: infoneeded => closed
* resolution: => worksforme
Comment:
Replying to [comment:5 jamshid]:
> First, why doesn't anything else trigger this, even when I rev up all my
cores with processes running an empty loop....
I don't know, but regardless of what ghc does or doesn't do, your computer
shouldn't just reboot itself. Try looking elsewhere for the cause of this
problem, or workaround it by using `cabal build -jn`, where `n` is smaller
than the number of cores you have.
> and second, why does "cabal install" use 1 core, while "cabal build"
uses many (by default).
For me multiple cores are only used with either `cabal build -j` or `cabal
install -j`, or when I set the jobs field in .cabal/cabal.config. If you
still get different results, please open an issue with
[https://github.com/haskell/cabal/issues cabal]. ghc by default doesn't
use multiple cores.
I'm closing this bug, as we won't make any progress on it, and there is a
workaround.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10159#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list