[GHC] #12678: -threaded is listed as a dynamic flag but is silently ignored in OPTIONS_GHC

GHC ghc-devs at haskell.org
Mon Oct 10 00:36:51 UTC 2016


#12678: -threaded is listed as a dynamic flag but is silently ignored in
OPTIONS_GHC
-------------------------------------+-------------------------------------
        Reporter:  enolan            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Well the other rule is that `OPTIONS_GHC` only affects compile-time flags,
 not link-time flags. One could imagine that for an executable the main
 module's `OPTIONS_GHC` are used at link time but it doesn't work that way.

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


More information about the ghc-tickets mailing list