Hi,
On Sun, May 17, 2020 at 12:45:11PM +0100, Stuart Henderson wrote:
> 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
Sorry for the breakage. I'll try -z,notext (and only that) in both
GHC_CC_OPTS and CFLAGS for i386.
Ciao,
Kili