[GHC] #12846: On Windows, runtime linker can't find function defined in GHC's RTS

GHC ghc-devs at haskell.org
Fri Nov 18 08:50:36 UTC 2016


#12846: On Windows, runtime linker can't find function defined in GHC's RTS
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2727
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"94d1221cfb31188990738e7f7cbb3ae0a30c9f98/ghc" 94d1221/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="94d1221cfb31188990738e7f7cbb3ae0a30c9f98"
 Add missing SMP symbols to RT linker.

 Summary:
 Add some missing symbols that we
 export from the public headers but forgot to include
 in the runtime linker's symbol table.

 This is a bit of a unsatifactory patch, since we have a bit of a
 cat and mouse game going. We should find a way to automate this.

 But I know of no good solutions at the moment that won't add all
 rts symbols (including those we don't have an extern declaration for.).

 So for now, just add the ones reported missing.

 Test Plan: inplace/bin/ghc-stage2.exe --interactive

 Reviewers: RyanGlScott, austin, erikd, simonmar, bgamari

 Reviewed By: bgamari

 Subscribers: thomie, #ghc_windows_task_force

 Differential Revision: https://phabricator.haskell.org/D2727

 GHC Trac Issues: #12846
 }}}

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


More information about the ghc-tickets mailing list