From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Help needed: Updating GHC to 8.4.3 Date: Mon, 20 Aug 2018 12:36:40 +0200 Message-ID: <874lfptjd3.fsf@elephly.net> References: <87tvnpfir4.fsf@gnu.org> 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]:38289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frhYQ-00007j-3B for guix-devel@gnu.org; Mon, 20 Aug 2018 06:36:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frhYP-0008WH-FB for guix-devel@gnu.org; Mon, 20 Aug 2018 06:36:58 -0400 In-reply-to: <87tvnpfir4.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Ricardo Wurmus Hi Ludo, > 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 s= eem 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? 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. --=20 Ricardo