From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Rust 1.19 fails to build on i686 on =?UTF-8?Q?=E2=80=98stagin?= =?UTF-8?Q?g=E2=80=99?= Date: Mon, 11 Feb 2019 22:34:56 +0100 Message-ID: <20190211223456.0779cf68@scratchpost.org> References: <87k1ioq21m.fsf@gnu.org> <20190128162705.052961e4@scratchpost.org> <877eenrhbj.fsf@gnu.org> <20190130185900.7f3d30a9@scratchpost.org> <20190205122839.06b482db@scratchpost.org> <20190205123510.510731a6@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/oqmZLI2ZFUT/TU.JY6akBQy"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtJEq-0002YQ-J4 for guix-devel@gnu.org; Mon, 11 Feb 2019 16:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtJEo-0004uS-9U for guix-devel@gnu.org; Mon, 11 Feb 2019 16:35:40 -0500 In-Reply-To: <20190205123510.510731a6@scratchpost.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: Chris Marusich Cc: Guix-devel --Sig_/oqmZLI2ZFUT/TU.JY6akBQy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Chris, upstream says that compiling rust 1.19.0 works fine for them on i686 with t= heir mrustc master (since they have applied our variable-length integer decoding patch): https://github.com/thepowersgang/mrustc/issues/108 >Hmm... works for me, using gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 on = linux 4.9.0-8-686-pae >Compiling cargo ran sucessfully. Would you have some time and a free computer to be able to build rust 1.19.= 0 with=20 ./pre-inst-env guix build -K -s i686-linux rust@1.19.0 on guix master with the patch below? My laptop is currently trying to survive the merge of staging to master and= keeps running out of memory if I try to start a rust build in parallel, even with= swap. The patch to use mrustc master is: diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index e128bb22b..f2a01ded6 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -97,17 +97,35 @@ (package (name "mrustc") (version "0.8.0") + ;(source (origin + ; (method git-fetch) + ; (uri (git-reference + ; (url "https://github.com/thepowersgang/mrustc.git") + ; (commit (string-append "v" version)))) + ; (file-name (git-file-name name version)) + ; (sha256 + ; (base32 + ; "0a7v8ccyzp1sdkwni8h1698hxpfz2sxhcpx42n6l2pbm0rbjp08i")) + ; (patches + ; (search-patches "mrustc-0.8.0-fix-use-after-free.patch" + ; "mrustc-0.8.0-fix-variable-length-intege= r-receiving.patch" + ; "mrustc-0.8.0-fix-emulated-i128-multiply= -divide.patch" + ; "mrustc-0.8.0-fix-i128-overflow-handling= .patch")))) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/thepowersgang/mrustc.git") - (commit (string-append "v" version)))) + (commit "7b6fa5c6e7d6838c2479280dd3f8d14a43c13899"))) (file-name (git-file-name name version)) (sha256 (base32 - "0a7v8ccyzp1sdkwni8h1698hxpfz2sxhcpx42n6l2pbm0rbjp08i")) + "0ki5jv76gmvd0q9y2lixzn4xhy1jamba3f77bk8cz2k4ix6yx5z1")) (patches - (search-patches "mrustc-0.8.0-fix-variable-length-integer= -receiving.patch")))) + (search-patches ;"mrustc-0.8.0-fix-use-after-free.patch" + ;"mrustc-0.8.0-fix-variable-length-intege= r-receiving.patch" + ;"mrustc-0.8.0-fix-emulated-i128-multiply= -divide.patch" + ;"mrustc-0.8.0-fix-i128-overflow-handling= .patch" + )))) Also have to make rust@1.19.0 public or use an "-e" expression. If you don't have time, no worries, I'll eventually get to it. --Sig_/oqmZLI2ZFUT/TU.JY6akBQy Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxh6oAACgkQ5xo1VCww uqWVgQf+Km+nYMVsUu1sv595PMs/ss+iqs7lipaZSAPL0XCzrHU35FD6sYwyigiK OoJxgGux1klu/usbkWEpD1a9BytUX9gp2/8NKtbAglJA44nbYrnrGvrqg5TxhiGf dmdl1y9NoWhHFpS2pXb+M51lCKQoX5Wjk/iOxkADl/DJ2WJSJcqCp+oNxfLRZFGW hHBIx3PtmLLG1lprTcGSFmodHJ1R5XFXEUgd0fqFu1ewCEU+UJhqSgjpEYWYUOQz kOPvHMN7rdUY6VLZ00f/iLr6BKvspPwZvfN8XSsORwEQuGK8m85jmCYvJIEejKf0 kZC6593G9b3hzjg1RJqMlbc5/wqMqg== =Kd3W -----END PGP SIGNATURE----- --Sig_/oqmZLI2ZFUT/TU.JY6akBQy--