#13113: Runtime linker errors with CSFML on Windows -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Phyx- Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 8.0.2 (Linker) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #13093 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Merged 2f1017b924740e66f093b0baba62ac0b1528abf8, {{{ commit 2f1017b924740e66f093b0baba62ac0b1528abf8 Author: Tamar Christina <tamar@zhox.com> Date: Tue Feb 14 09:44:53 2017 -0500 Fix ExtraSymbols jump table on Windows. This corrects the `jump islands` calculations for Windows. The code was incorrectly creating a new entry for every `usage` of a symbol instead of every used symbol. e.g. if a symbol is used 5 times it used to create 5 jump islands. This is incorrect and not in line with what the `ELF` and `Mach-O` linkers do. Also since we allocate `n` spaces where `n` is number of symbols, we would quickly run out of space and abort. Test Plan: ./validate Reviewers: simonmar, hvr, erikd, bgamari, austin Reviewed By: bgamari Subscribers: thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D3026 }}} Phyx, does this resolve this issue? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13113#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler