[GHC] #2725: Remove Hack in compiler/nativeGen/X86/CodeGen.hs

GHC ghc-devs at haskell.org
Mon Jan 21 21:17:10 UTC 2019


#2725: Remove Hack in compiler/nativeGen/X86/CodeGen.hs
-------------------------------------+-------------------------------------
        Reporter:  clemens           |                Owner:  thoughtpolice
            Type:  task              |               Status:  new
        Priority:  low               |            Milestone:  8.10.1
       Component:  Compiler (NCG)    |              Version:  6.11
      Resolution:                    |             Keywords:  codegen
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 hsyl20):

 > I have just (2015/03/03) written a shell script (attached) that tests
 for binutils support for 64 bit pc-relative relocatons.
 > The test passes on *all* modern linux systems, but fails on Mac OSX
 (Mavericks) and OpenBSD 5.5 (current is 5.6). The failure is one OpenBSD
 says:

 According to https://www.openbsd.org/58.html, since OpenBSD 5.8
 (2015-10-18), binutils have been upgraded to 2.17.

 > OSX has the linker from LLVM which theoretically could be fixed.

 LLD handles them since 2015-02-24 (https://reviews.llvm.org/rL230465).
 First release containing the patch: 3.7 (2015-09-01).

 Maybe we should revisit?

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


More information about the ghc-tickets mailing list