[GHC] #8974: 64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults
GHC
ghc-devs at haskell.org
Mon Apr 21 18:13:54 UTC 2014
#8974: 64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults
------------------------------------+----------------------------------
Reporter: awson | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.3
Component: Compiler (LLVM) | Version: 7.9
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64 (amd64)
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
------------------------------------+----------------------------------
Comment (by awson):
I think that things are pretty much explained in
[http://git.haskell.org/ghc.git/blob/HEAD:/compiler/nativeGen/X86/Ppr.hs#l462
native codegen code].
But AFAIUI, when the relevant LLVM code was written, non-Windows binutils
were already improved and that was not taken into account (Windows
binutils are not fixable anyway in general).
Then it looks `pprInfoTable`
[http://git.haskell.org/ghc.git/blob/HEAD:/compiler/llvmGen/LlvmCodeGen/Ppr.hs#l111
code] is the point we could try to rewrite things at.
Unfortunately, at this point we are forced to "reverse engineer" what was
[http://git.haskell.org/ghc.git/blob/HEAD:/compiler/llvmGen/LlvmCodeGen/Data.hs#l116
done before, and it is tempting to intervene here], but it seems we can't
intervene at this early stage because this can break things in contexts
other than `pprInfoTable`'s one.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8974#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list