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

GHC ghc-devs at haskell.org
Thu Nov 2 21:17:02 UTC 2017


#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
 Type of failure:  GHC rejects       |  (amd64)
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Thanks, a testcase would be great!

 Indeed I didn't notice `Note [inline sccs]`. It's surprising that this bug
 wasn't spotted earlier given that this could happen for any binding, not
 just those marked as INLINE (since GHC may decide on its own to expose an
 unfolding). I guess `-fno-prof-count-entries` doesn't see much use.

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


More information about the ghc-tickets mailing list