#13702: GHC can't produce position independent executables -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: patch Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3589 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"3625728a0e3a9b56c2b85ae7ea8bcabdd83ece6a/ghc" 3625728/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="3625728a0e3a9b56c2b85ae7ea8bcabdd83ece6a" Add support for producing position-independent executables Previously due to #12759 we disabled PIE support entirely. However, this breaks the user's ability to produce PIEs. Add an explicit flag, -fPIE, allowing the user to build PIEs. Test Plan: Validate Reviewers: rwbarton, austin, simonmar Subscribers: trommler, simonmar, trofi, jrtc27, thomie GHC Trac Issues: #12759, #13702 Differential Revision: https://phabricator.haskell.org/D3589 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13702#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler