On 2020/05/15 15:32, Matthias Kilian wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2020/05/15 15:32:18
> 
> Modified files:
>       lang/ghc       : Makefile 
> Removed files:
>       lang/ghc/patches: patch-rts_ghc_mk 
> 
> Log message:
> Some ghc cleanups:
> 
> - Remove -no-pie from GHC_CC_OPTS.
> - Remove obsolete ffi related patch.
> - Remove explicit wxneeded from Makefile.
> 
> From Greg Steuck. Thanks!
> 

Either -no-pie or -z,notext is needed on i386:

ld.lld: error: can't create dynamic relocation R_386_32 against local symbol in 
readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to 
allow text relocations in the output

Reply via email to