[GHC] #15112: ghc 8.4.2 on OS X: clang: warning: argument unused during compilation: '-nopie'
GHC
ghc-devs at haskell.org
Mon May 14 12:12:14 UTC 2018
#15112: ghc 8.4.2 on OS X: clang: warning: argument unused during compilation:
'-nopie'
---------------------------------+----------------------------------------
Reporter: elaforge | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.2
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Comment (by niteria):
I couldn't build GHC HEAD with GHC 8.2.2 because of this error.
Modifying `/usr/local/lib/ghc-8.2.2/settings` to:
{{{
...
("C compiler supports -no-pie", "NO"),
...
}}}
worked it around for me.
Perhaps a reinstall works as well, I haven't tried.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15112#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list