GHC's Linker Should Support Relocation Type 42
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.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |