
#15808: Master sefaults on windows during aeson build when stage2 libs have dwarf enabled. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by AndreasK): I've spent some quality time with gdb the last few days and documenting progress here: * aeson uses TH which via the GHCi machinery links in base (among other things). * During linking of base we find initialization code in base originating from foreign exports * The initialization code contains relocations. * In particular we want to jump to `foreignExportStablePtr` at the end of this function. * But something during relocation goes wrong and we jump to a wrong address. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15808#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler