[GHC] #13100: Instability in 8.0.2 on 32-bit Windows

GHC ghc-devs at haskell.org
Tue Jan 10 19:55:46 UTC 2017


#13100: Instability in 8.0.2 on 32-bit Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Phyx noted that the patch inadvertently removes a linker flag on Windows,

 {{{#!patch
 diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs
 index 236bcfd..1ab5b13 100644 (file)
 --- a/compiler/main/SysTools.hs
 +++ b/compiler/main/SysTools.hs
 @@ -858,7 +860,7 @@ getLinkerInfo' dflags = do
                       -- Note [Windows stack usage]
                       -- Force static linking of libGCC
                       -- Note [Windows static libGCC]
 -                   , "-Xlinker", "--stack=0x800000,0x800000", "-static-
 libgcc" ]
 +                   , "-static-libgcc" ]
                 _ -> do
                   -- In practice, we use the compiler as the linker here.
 Pass
                   -- -Wl,--version to get linker version info.
 }}}

 I'm going to try reverting this bit.

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


More information about the ghc-tickets mailing list