[GHC] #12186: Windows linker stack commit setting causing issues
GHC
ghc-devs at haskell.org
Tue Jun 21 11:05:01 UTC 2016
#12186: Windows linker stack commit setting causing issues
-------------------------------------+-------------------------------------
Reporter: tim-m89 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Linking) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: #8870 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by tim-m89):
@Phyx-
The specific number 0x7E000 was found by finding a number that worked and
1 that didn't, trying the half way point, and repeating until I found a
number where no 1 byte, 4 byte or whole page increment would work. Why 126
pages? I just don't know.
@awson
The original hard coded stack size is still getting passed to gcc in the
linker stage though, and it appears that the hard coded argument is taking
precedence (perhaps because it occurs afterwards in the gcc invocation?).
So I can't just specify it as an argument ghc should pass to the linker.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12186#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list