[GHC] #10894: In users_guide/profiling.xml : -prof flag not to be used with cabal/stack

GHC ghc-devs at haskell.org
Fri Sep 18 18:08:04 UTC 2015


#10894: In users_guide/profiling.xml : -prof flag not to be used with cabal/stack
-------------------------------------+-------------------------------------
        Reporter:  robstewartuk      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  lowest            |               Milestone:
       Component:  Documentation     |                 Version:  7.10.2
      Resolution:                    |                Keywords:  user
                                     |  guide, profiling
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Documentation     |  Unknown/Multiple
  bug                                |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by osa1):

 I had this problem before and it's quite annoying, but I feel like the
 right way to solve this is to add a check in Cabal and print a warning if
 `--ghc-options=-prof` is used.

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


More information about the ghc-tickets mailing list