Hi Ludo,

> Hello,
>
> Ricardo Wurmus <[email protected]> skribis:
>
>> GHC 8.0 had been patched with
>> "ghc-dont-pass-linker-flags-via-response-files.patch" to avoid using
>> response files with the linker, because our ld-wrapper doesn’t seem to
>> behave right in some edge case that GHC depends on.  I tried porting the
>> patch to GHC 8.4.3 by applying this snippet:
>
> I think this patch predates the addition of support for response files
> in ld-wrapper.  That support is not entirely faithful (see the FIXME in
> ld-wrapper.in), but I think it’s good enough for GHC.
>
> Could you maybe try removing the patch and see if it works better?

I did try to build GHC 8.4.3 without any patches first, but this failed
(with the same errors and warnings when trying to set up the tests).
Only then did I try to port the patch from 8.0.x to 8.4.3.

-- 
Ricardo


Reply via email to