From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: gfortran seems to require gcc-toolchain Date: Sun, 10 Nov 2019 00:03:37 +0100 Message-ID: <878soomz3q.fsf@devup.no> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTZlf-0006jO-Gq for help-guix@gnu.org; Sat, 09 Nov 2019 18:03:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTZle-0000sx-LE for help-guix@gnu.org; Sat, 09 Nov 2019 18:03:43 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:40607) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iTZle-0000sk-D8 for help-guix@gnu.org; Sat, 09 Nov 2019 18:03:42 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Konrad Hinsen , help-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Konrad Hinsen writes: > Hi Guix, > > I am trying to recompile old Fortran code under Guix. I made an (pure) > environment containing "gfortran" plus a few required tools (make etc.), > but found that every Fortran compilation stops with an error message > complaining about "as" missing. Installing gcc-toolchain fixes the > problem. 'as' is part of Binutils, you don't need the entire toolchain. That said, there are various other workarounds in Guix due to GCC (and apparently gfortran) lacking an absolute reference to 'as'. Can you try the following patch and see if it works for your case? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=diff --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3HRckACgkQoqBt8qM6 VPr69QgAsrRs9m0aH5uv/HXov69jn11o8eaF/MF6MqE5lRHpfvdMqDzsXKe/Evd5 a6iAnyNPvb4I5/5MogVCsHPHAx1ZL/71UCvjNnRlmX5x8qyPbol1/s6rGi7Rm2fd /mb/y15rTOUr0uHKpYxc/n37Ar4cRptboirrwPgzVyIj9CdQSVBxn9nV8ZNYJ9du T2GRbQDKAhMPzCHRijgtWygWGIL5R6I7OrrIWyqwVe6c8g2XJWH5AjsAkh+Rj8nu Tl0u84ZEHLJYoeIc+pNXcYyk4b8Uw6JHRcS4g356xFmW/fa8T+DsF67E+rcX5e7K LTota27JAxXX6ARWVfDIDu4pyEdu1g== =sbQQ -----END PGP SIGNATURE----- --==-=-=--