From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53903) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NSl-0001PI-Lc for guix-patches@gnu.org; Thu, 13 Feb 2020 18:00:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NSk-00011U-F5 for guix-patches@gnu.org; Thu, 13 Feb 2020 18:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NSk-000112-7e for guix-patches@gnu.org; Thu, 13 Feb 2020 18:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2NSk-0001ff-3q for guix-patches@gnu.org; Thu, 13 Feb 2020 18:00:02 -0500 Subject: [bug#39309] [PATCH WIP] gnu: add stack. Resent-Message-ID: From: Timothy Sample References: <87k14vou0u.fsf@ngyro.com> Date: Thu, 13 Feb 2020 17:59:34 -0500 In-Reply-To: (John Soo's message of "Thu, 13 Feb 2020 17:36:56 +0000") Message-ID: <87y2t6ayax.fsf@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: John Soo Cc: 39309@debbugs.gnu.org Hi John, John Soo writes: > I tried using this patch and it still fails. Could I be missing > something? I=E2=80=99m not sure, but I got the shadowing to work. In fact, you don=E2= =80=99t need shadowing at all. You can just pass =E2=80=9C--with-hsc2hs=3D/gnu/store/..= .=E2=80=9D as a configure flag: (arguments `(#:configure-flags (let ((hsc2hs (assoc-ref %build-inputs "ghc-hsc2hs"))) (list (string-append "--with-hsc2hs=3D" hsc2hs "/bin/hsc2hs"))))) Unfortunately, it doesn=E2=80=99t help. Looking at the source code, =E2=80= =9Chsc2hs=E2=80=9D *is* calling GCC with a response file. AIUI, GCC is supposed to continue to use response files for all of its subprograms. Hence, everything should work. I=E2=80=99m stumped. :/ I=E2=80=99ll take another look with a fresh mind sometime, and see if I can= make any progress. -- Tim