[GHC] #16214: Hadrian prof flavour doesn't build a compiler which you can profile

GHC ghc-devs at haskell.org
Tue Jan 22 10:53:36 UTC 2019


#16214: Hadrian prof flavour doesn't build a compiler which you can profile
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.6.3
  (Hadrian)                          |
           Keywords:  newcomer       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 After building a compiler with the `prof` flavour. I tried to use it with
 the `-xc` option.

 {{{
 ./hadrian/build.sh --flavour=prof
 _build/stage1/bin/ghc A.hs +RTS -xc
 }}}

 But apparently

 {{{
 ghc: the flag -xc requires the program to be built with -prof
 }}}

 So it seems that the `prof` flavour is broken.

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


More information about the ghc-tickets mailing list