-no-pie

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

-no-pie

Dennis Raddle
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?

D

_______________________________________________
Beginners mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: -no-pie

Sumit Raja
Hi Dennis,

Seems like the GHC settings file is incorrect. There is an SO answer
that explains how to change this on OSX:
https://stackoverflow.com/questions/50386787/cabal-install-gcc-failed-in-phase-c-compiler/50419101#50419101
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
(/Library/Frameworks/GHC.framework/Versions/8.4.2-x86_64/usr/lib/ghc-8.4.2/settings).

Regards
Sumit

On Mon, 14 Jan 2019 at 23:47, <[hidden email]> wrote:

>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 13 Jan 2019 08:39:42 -0800
> From: Dennis Raddle <[hidden email]>
> To: Haskell Beginners <[hidden email]>
> Subject: [Haskell-beginners] -no-pie
> Message-ID:
>         <CAKxLvooVcHrQ1h_L5a0z_wLJNpM_g9R8D55oExyb=[hidden email]>
> 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?
>
_______________________________________________
Beginners mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners