[GHC] #11615: ghci -threaded

GHC ghc-devs at haskell.org
Sat Feb 20 19:28:42 UTC 2016


#11615: ghci -threaded
-------------------------------------+-------------------------------------
        Reporter:  franz             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 `-threaded` is a link-time option, and ghci is linked with the threaded
 RTS, so it is always threaded (assuming you don't have an unusual
 configuration; `ghc +RTS --info | grep 'RTS way'` to check, should contain
 `_thr`). It is never `-debug` or `-ticky` (again unless you built it that
 way on purpose).

 We could make that warning say more clearly that `-threaded` is redundant,
 and `-debug` and `-ticky` are ignored. But strangely that warning has
 disappeared in 8.0 and HEAD, even though the code to print it still seems
 to exist.

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


More information about the ghc-tickets mailing list