[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed: Updating GHC to 8.4.3
From: |
Ricardo Wurmus |
Subject: |
Re: Help needed: Updating GHC to 8.4.3 |
Date: |
Mon, 20 Aug 2018 12:36:40 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Hi Ludo,
> Hello,
>
> Ricardo Wurmus <address@hidden> 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