Re: GHC in snapshots with non-existent ld.

2016-11-01 Thread Stuart Henderson
On 2016/11/01 17:12, Matthias Kilian wrote: > I'll try to revert my latest USE_WXNEEDED change in lang/ghc and > again explicitely pass -Wl,-z,wxneeded to the linker (which would > then be /usr/bin/ld or just ld). > > That would be the diff below. > > I keep the USE_WXNEEDED but leaving it

Re: GHC in snapshots with non-existent ld.

2016-11-01 Thread Matthias Kilian
Hi, On Tue, Nov 01, 2016 at 09:45:32PM +0100, Karel Gardas wrote: > On Tue, Nov 1, 2016 at 5:12 PM, Matthias Kilian > wrote: > > -# XXX: wxneeded is a hack. Fix rts/Linker.c, mmapForLinker() and > > -# loadObj_() instead. > > -USE_WXNEEDED = Yes > > +# We

Re: GHC in snapshots with non-existent ld.

2016-11-01 Thread Karel Gardas
On Tue, Nov 1, 2016 at 5:12 PM, Matthias Kilian wrote: > -# XXX: wxneeded is a hack. Fix rts/Linker.c, mmapForLinker() and > -# loadObj_() instead. > -USE_WXNEEDED = Yes > +# We can't use the wrapper script, because it then gets hardcoded into > +# the

Re: GHC in snapshots with non-existent ld.

2016-11-01 Thread Matthias Kilian
[cc'd ports, in case someone wants to comment] Hi, On Tue, Nov 01, 2016 at 01:39:56PM +0100, Karel Gardas wrote: [ghc from packages not able to link anything outside of ports, especially ghc HEAD] > which is caused by this: > > $ ghc --version > The Glorious Glasgow Haskell Compilation