[GHC] #13617: Segfault when using SSE and R_X86_64_PC32 relocations to .rdata on Windows in GHCi

GHC ghc-devs at haskell.org
Mon Jul 10 04:26:12 UTC 2017


#13617: Segfault when using SSE and R_X86_64_PC32 relocations to .rdata on Windows
in GHCi
--------------------------------+----------------------------------------
        Reporter:  RyanGlScott  |                Owner:  Phyx-
            Type:  bug          |               Status:  new
        Priority:  normal       |            Milestone:
       Component:  GHCi         |              Version:  8.0.2
      Resolution:               |             Keywords:
Operating System:  Windows      |         Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash   |            Test Case:
      Blocked By:               |             Blocking:
 Related Tickets:  #7134        |  Differential Rev(s):
       Wiki Page:               |
--------------------------------+----------------------------------------

Comment (by Phyx-):

 Ack, how did I miss the alignment note on the manual..

 You're right, and the section is supposed to be 16-byte aligned

 {{{
   6 .rdata        00000010  0000000000000000  0000000000000000  000002ec
 2**4
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
 }}}

 Simple enough fix. Thanks @olsner, completely read over that a few times..

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13617#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list