From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJZV0-0005Go-Tk for guix-patches@gnu.org; Tue, 28 Nov 2017 01:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJZUw-0002We-0R for guix-patches@gnu.org; Tue, 28 Nov 2017 01:36:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJZUv-0002WY-Ry for guix-patches@gnu.org; Tue, 28 Nov 2017 01:36:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJZUv-0001OT-Jz for guix-patches@gnu.org; Tue, 28 Nov 2017 01:36:01 -0500 Subject: [bug#28433] [WIP] Rust update Resent-Message-ID: Date: Tue, 28 Nov 2017 06:35:17 +0000 From: ng0 Message-ID: <20171128063517.yrkmqip2mjh4kudn@abyayala> References: <20170912185023.7de883ff@scratchpost.org> <873767cnsu.fsf@elephly.net> <20171026101728.6493ef46@scratchpost.org> <20171028124258.22553eee@scratchpost.org> <20171028133157.4dc52bd9@scratchpost.org> <20171028135726.76e5a14e@scratchpost.org> <87d1575dsw.fsf@gnu.org> <20171030123501.66cebab2@scratchpost.org> <8760aw7ijp.fsf@gnu.org> <20171030171415.0cf6c27d@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zzlpqqapoxzcg5hu" Content-Disposition: inline In-Reply-To: <20171030171415.0cf6c27d@scratchpost.org> 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: Danny Milosavljevic Cc: Ricardo Wurmus , 28433@debbugs.gnu.org --zzlpqqapoxzcg5hu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Danny, what's missing here? rustc has been released as 1.22.1 since this thread started. I hope to introduce some people in January at our GNUnet workshop to the open tasks on the Guix rust-build-system and - depending on how they judge their own abilities - get them to work on this throughout the year. Danny Milosavljevic transcribed 0.9K bytes: > Hi Ludo, >=20 > > Yes, I think -m32 is a no-op in this case. >=20 > Yep. I just got rustc to build a bootstrap executable (which fails when = executing it [*], but hey, progress) by making a union-build with all the i= 686 libs. >=20 > Feels kinda icky, but it seems that propagated-inputs don't remember the = #:system it was for, so for example if A propagates B and A specifies syste= m i686, and X specifies system x86_64 and X depends on A, then X's B will b= e x86_64. Weird but understandable I guess... >=20 > Details: >=20 > A: > propagated-inputs > B > arguments system i686 >=20 > X: > native-inputs > A > arguments system x86_64 >=20 > Now X's B is x86_64... >=20 > The workaround is this: >=20 > A: > arguments system i686 > native-inputs > B > union-build out/lib from B (etc) >=20 > X: > native-inputs > A > arguments system x86_64 >=20 > That works. >=20 > In our specific case A =3D "rust-bootstrap", X =3D "rustc", B =3D "glibc"= , "gcc:lib" etc. >=20 > [*] Tries to load libgcc_s.so.1 from the glibc store directory. WTF? >=20 >=20 >=20 >=20 --=20 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys WWW: https://n0.is --zzlpqqapoxzcg5hu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlodA6UACgkQ4i+bv+40 hYheiw/+MFnToTUP7pqzzBUWHSdaLL2AzY9GoRxD0bYvSdhSFoZzbKj6uD/fGbbt BnjFiNckmXbQ6RXJ8p3TkRK+0P00D3qNU5tBH9Qo3Tu0hSfpfc3RA+RZpwfb2LUe DzkCN6cV5QVGZ07p+Qqx1aaI9jTeK3HXCI884GAbnm+I42hIbBMKq8WFQrFVwto2 ZlYoxZZQ9t8v8Sovb6juj2bUVLLQ5YBUzz988fTcrecuOYG/QQ73os1sI2dtt5A3 /akoxe3EVItxgPAIczUv0MbMuMBxboDxWnpkw1pbQrtCGhCwe0+ep+FKqK+D1W0b 2macpBnt4NU0J6naPPJZquA/gAIJCilyemEDWN6ipkwDE8R1zbbCK0ad4yrtGHHj lyv/QMtkg4wf6o50HzyVTPBOo7RxMGZ+li2sdQjayMjlcKOffCRVENxnsPFjxZw+ eyJvajiCJdyyCfKHwtJLGOeWlPZtzpI/Ybv2mkquMoO+c1+Yy3qFPqCAjLLEP1ka 3ouna9oofEI9HzyEo0/JJdOQmgm167m/7JIRsA0pSVDr4AWHKR5nBgNfr47jqs9i xVGsNMEn0vP5C1i8GVI3LE4fOVpY7TyijFsQG6l2NI/9eBgdwximjPt0WiD9OMQd vd3SI+VBy4CFy1zkXlosfQCXQJsgthGECqVAnyZn5ToL7zk2GbE= =uDr5 -----END PGP SIGNATURE----- --zzlpqqapoxzcg5hu--