[Haskell-beginners] -no-pie

Sumit Raja sumitraja at gmail.com
Mon Jan 14 22:25:25 UTC 2019

Hi Dennis,

Seems like the GHC settings file is incorrect. There is an SO answer
that explains how to change this on OSX:
and a defect (https://github.com/haskell/haskell-platform/issues/304)

This may not be your exact situation but you can adjust settings
accordingly based on the path provided


On Mon, 14 Jan 2019 at 23:47, <beginners-request at haskell.org> wrote:
> ----------------------------------------------------------------------
> Message: 1
> Date: Sun, 13 Jan 2019 08:39:42 -0800
> From: Dennis Raddle <dennis.raddle at gmail.com>
> To: Haskell Beginners <beginners at haskell.org>
> Subject: [Haskell-beginners] -no-pie
> Message-ID:
>         <CAKxLvooVcHrQ1h_L5a0z_wLJNpM_g9R8D55oExyb=wAQ6J86vA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> I'm on MacOS Sierra. I'm using stack, but I also sometimes use the system
> GHC for situations where stack is problematic (one of my applications
> spawns GHC as part of a work-loop cycle and it's faster to run the system
> GHC).
> My system GHC is 8.4.2.
> I just started getting an error on compilation with the system GC:
> clang: error unknown argument: -no-pie
> Does I just need to update the system GHC or is this a symptom of something
> deeper?

More information about the Beginners mailing list