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, 28 Jan 2019 16:27:05 +0100 Message-ID: <20190128162705.052961e4@scratchpost.org> References: <87k1ioq21m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/0J+dHygeWnRC_Yk3JGUxUXR"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go8oZ-0002lo-Sv for guix-devel@gnu.org; Mon, 28 Jan 2019 10:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go8oZ-0007yJ-2t for guix-devel@gnu.org; Mon, 28 Jan 2019 10:27:11 -0500 In-Reply-To: <87k1ioq21m.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 =?ISO-8859-1?Q?Court=E8s?= Cc: Guix-devel --Sig_/0J+dHygeWnRC_Yk3JGUxUXR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, on second thought: On Mon, 28 Jan 2019 15:39:33 +0100 Ludovic Court=C3=A8s wrote: > > /gnu/store/fw4yy7cgb5ahs9s2ir00bawnsl5zj7db-mrustc-0.8.0/bin/mrustc[...] > munmap_chunk(): invalid pointer Maybe the above causes > src/tools/cargo/src/crates-io/lib.rs:65: BUG:src/expand/proc_macro.cpp:94= 1: Unexpected EOF while reading from child process this. Might be a memory double-free. Exactly the kind of thing that Rust is supp= osed to prevent is in the Rust compiler in C++ - well, at least the motivation f= or having Rust is clear now ;-) Can you try just $ /gnu/store/fw4yy7cgb5ahs9s2ir00bawnsl5zj7db-mrustc-0.8.0/bin/mrustc src/t= ools/cargo/src/crates-io/lib.rs --crate-name crates_io --crate-type rlib --= crate-tag 0_9_0 -g --cfg debug_assertions -O -o output/cargo-build/libcrate= s_io-0_9_0.hir -L output/cargo-build --extern curl=3Doutput/cargo-build/lib= curl-0_4_6.hir --extern error_chain=3Doutput/cargo-build/liberror_chain-0_1= 0_0.hir --extern serde=3Doutput/cargo-build/libserde-1_0_6.hir --extern ser= de_derive=3Doutput/cargo-build/libserde_derive-1_0_6.hir --extern serde_jso= n=3Doutput/cargo-build/libserde_json-1_0_2.hir --extern url=3Doutput/cargo-= build/liburl-1_4_0.hir -L output -L /gnu/store/fw4yy7cgb5ahs9s2ir00bawnsl5z= j7db-mrustc-0.8.0/lib/mrust in the build-failed kept source? (possibly with "ulimit -c unlimited" so it= dumps core. mrustc is a normal C++ program, so normal debugging ways apply) Or do I have access to the machine so I can do it? --Sig_/0J+dHygeWnRC_Yk3JGUxUXR Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxPH0kACgkQ5xo1VCww uqXYygf/Szi6U8PxJc+YQHMl/lL09mIVaBkpORFpXzg4mDnznPJiYb4RIeeBXcXD md3RruSTztuKrX3zJ03mnsgUFfANrtV7aUl4sbEdLTTEX6JUIeMcjUn7uVyzRzFA yVGIEs5BA+eo9/agTmHzzNWoxivArHAUKEe4CUT6He/JVbQmk8i3OAPYxdqvz1ij XzLX8h6QItoOTwdDgKTTUpSEGr7nA/0WtfuFAeyqO71cYhy9C4CfxaEusEnIU80D PPHQvtgm4NlEPNSeCf6A1yb+SJ/9N5GLTyavHMc8eLP0ZPvBAswXb1rpSglmEUpF fz3j1Ma8MGsllQpma8kegLaCwKPddg== =CE8A -----END PGP SIGNATURE----- --Sig_/0J+dHygeWnRC_Yk3JGUxUXR--