GHC can't produce position independent executables
Due to #12759 (closed) we unconditionally pass -no-pie
to GCC. However, there are legitimate reasons to want a PIE. We should have a -fPIE
flag to match -fPIC
, requesting that the compiler produce a position-independent executable.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |