[GHC] #5889: -fno-prof-count-entries leads to linking errors

GHC ghc-devs at haskell.org
Sun Jan 14 05:01:43 UTC 2018


#5889: -fno-prof-count-entries leads to linking errors
-------------------------------------+-------------------------------------
        Reporter:  akio              |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  profiling/should_compile/T5889
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I think we all agree that the simplifier is not at fault here. Indeed the
 approach that duog mentions comment:25 is roughly what osa1 and I have
 discussed. However, it's slightly tricky as unfoldings are currently
 dropped before we make it to `core2Stg` (in CorePrep). I doubt this will
 unacceptably increase the number of emitted cost centers although I've
 been wrong before.

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


More information about the ghc-tickets mailing list