arm binaries have an executable stack
Test T703 is currently failing on on armhf/linux. The test result shows:
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0
Arm compiles via LLVM, but x86_64 executbles compiled via LLVM do not have an executable stack.
The other difference between the x86_64 and Arm is the Arm uses ld.gold as the linker. Sure enough, adding -optl -Wl,-z,noexecstack to the ghc command line fixes this, but a better solution is needed.
This is probably also an issue on AArch64 which also uses the ld.gold linker.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.11 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |