
#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 Phyx-): Hmm, when I pass it to the linker as an argument to GHC I get {{{ gcc.exe "-fno-stack-protector" "-DTABLES_NEXT_TO_CODE" "-Wl,--hash- size=31" "-Wl,--reduce-memory-overheads" "-Xlinker" "-- stack=0x800000,0x800000" "-static-libgcc" "-Xlinker" "-- stack=0x800000,0x7E000" }}} so it should work. Unless you can only set it once? I'm keen on seeing a proper fix, but for now, if passing it to GHC doesn't work, maybe we can make it a flag to GHC to control the reserved and commit space. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12186#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler