[GHC] #13845: Runtime linker too eagerly checks for symbol names

GHC ghc-devs at haskell.org
Wed Apr 4 15:28:16 UTC 2018


#13845: Runtime linker too eagerly checks for symbol names
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Indeed, you can also work around this by using `-fobject-code`, which does
 //not// load all top-level definitions.

 {{{
 $ runghc --ghc-arg=-fobject-code Bug.hs
 Hello, World!
 }}}

 In short, this isn't a real bug.

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


More information about the ghc-tickets mailing list