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? HTH, Ludo’.
