[GHC] #14456: Windows runtime linker failure with icuuc

GHC ghc-devs at haskell.org
Mon Jan 15 19:22:06 UTC 2018


#14456: Windows runtime linker failure with icuuc
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  Phyx-
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Runtime System    |              Version:  8.2.2
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4274
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"3d17f1f10fc00540ac052f2fd03182906aa47e35/ghc" 3d17f1f/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3d17f1f10fc00540ac052f2fd03182906aa47e35"
 Tweak link order slightly to prefer user shared libs before system ones.

 We currently always prefer shared libraries before import libraries and
 static libraries. This is because they're faster to load. The problem is
 when shared library are installed in the Windows directory. These would
 supersede any user specified ones.

 This is bad because e.g. Windows now ships icuuc, but an old version.
 If you try to use -licuuc then it would pick the Windows one instead of
 your user specified one.

 This patch slighly tweaks the ordering so user paths get prefered.

 Test Plan: ./validate

 Reviewers: RyanGlScott, hvr, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14456

 Differential Revision: https://phabricator.haskell.org/D4274
 }}}

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


More information about the ghc-tickets mailing list