From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Help needed: Updating GHC to 8.4.3 Date: Mon, 20 Aug 2018 12:13:35 +0200 Message-ID: <87tvnpfir4.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frhBu-0005Vy-Nx for guix-devel@gnu.org; Mon, 20 Aug 2018 06:13:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frhBp-00057b-Lm for guix-devel@gnu.org; Mon, 20 Aug 2018 06:13:42 -0400 In-Reply-To: (Ricardo Wurmus's message of "Fri, 17 Aug 2018 17:08:18 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hello, Ricardo Wurmus 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=E2=80=99t se= em 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=E2=80=99s good enough for GHC. Could you maybe try removing the patch and see if it works better? HTH, Ludo=E2=80=99.