[GHC] #12147: GHC's Linker Should Support Relocation Type 42
GHC
ghc-devs at haskell.org
Thu Jun 2 17:57:32 UTC 2016
#12147: GHC's Linker Should Support Relocation Type 42
----------------------------------------+---------------------------------
Reporter: gershomb | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Linux
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
----------------------------------------+---------------------------------
As per: https://github.com/DanielG/ghc-
mod/issues/762#issuecomment-213743585
"gas >= 2.26 uses some new relocation types (in particular type 42, aka
R_X86_64_REX_GOTPCRELX), which are not supported by ghc's linker."
This causes problems when linking in libs with certain sorts of c bits via
the GHC API (at the very least).
Support should be added.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12147>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list