#12759: Latest Debian GCC breaks GHC -----------------------------+---------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -----------------------------+---------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"bae4a55b1fb403f610b4b55a1b6fb3f03e9c2026/ghc" bae4a55b/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="bae4a55b1fb403f610b4b55a1b6fb3f03e9c2026" 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 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12759#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler