Pass -no-pie to GCC
Certain distributions (e.g. Debian and Ubuntu) have enabled PIE be default in their GCC packaging. This breaks our abuse of GCC as a linker which requires that we pass -Wl,-r, which is incompatible with PIE (since the former implies that we are generating a relocatable object file and the latter an executable). Test Plan: Validate Reviewers: hvr, austin Subscribers: rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D2691 GHC Trac Issues: #12759
Showing
- aclocal.m4 18 additions, 0 deletionsaclocal.m4
- compiler/main/DriverPipeline.hs 9 additions, 0 deletionscompiler/main/DriverPipeline.hs
- compiler/main/SysTools.hs 13 additions, 0 deletionscompiler/main/SysTools.hs
- configure.ac 3 additions, 0 deletionsconfigure.ac
- distrib/configure.ac.in 1 addition, 0 deletionsdistrib/configure.ac.in
Loading
Please register or sign in to comment