From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Rust 1.19 fails to build on i686 on =?utf-8?B?4oCYc3RhZ2lu?= =?utf-8?B?Z+KAmQ==?= Date: Sat, 16 Feb 2019 02:53:30 -0800 Message-ID: <87a7iwm2c5.fsf@gmail.com> 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> <20190211223456.0779cf68@scratchpost.org> <87o97hz0ra.fsf@gmail.com> <20190212130658.2c1f2a23@scratchpost.org> <878sykbdgg.fsf@gmail.com> <87imxo9r0k.fsf@gmail.com> <87a7izhtqw.fsf@gmail.com> <20190214181401.661c0430@scratchpost.org> <87imxlju1l.fsf@gmail.com> <20190215115132.46844896@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guxbT-0004Ez-MH for guix-devel@gnu.org; Sat, 16 Feb 2019 05:53:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guxbP-0004G8-AV for guix-devel@gnu.org; Sat, 16 Feb 2019 05:53:51 -0500 In-Reply-To: <20190215115132.46844896@scratchpost.org> (Danny Milosavljevic's message of "Fri, 15 Feb 2019 11:51:32 +0100") 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: Danny Milosavljevic Cc: Guix-devel --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Danny, Danny Milosavljevic writes: > Can you try the following (if you didn't already)? > > [...] > > (i.e. the things you did before, just inside a i686-linux guix > environment. That only provides minimal--almost no--isolation from > the host, so it should allow us to test whether the personality is the > only possible culprit) Did you mean to say that by using a pure guix environment, we can achieve a high degree of isolation? I tried what you suggested. The mrustc invocation still succeeded. Just for fun, I also made a simple wrapper program that lets me run another program using the LINUX32 personality (see attached). I think I programmed it correctly, but C is not (yet!) my forte, so if I made an error, please let me know. From within the same pure environment, I used this wrapper program to invoke mrustc in the same way, and it _still_ succeeded. That surprised me, since I expected it to fail. Can you think of any other way I can try to reproduce the issue? =2D-=20 Chris --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=with_linux32_personality.c Content-Transfer-Encoding: base64 I2luY2x1ZGUgPHN5cy9wZXJzb25hbGl0eS5oPgojaW5jbHVkZSA8c3RkaW8uaD4KI2luY2x1ZGUg PHVuaXN0ZC5oPgoKaW50IG1haW4gKGludCBhcmdjLCBjaGFyICphcmd2W10pIHsKICAvLyBBbGxv dyBhdCBtb3N0IDEwMCBhcmd1bWVudHMuCiAgY29uc3QgaW50IEFSR1NfU0laRSA9IDEwMjsKICAv LyBUaGUgZmlyc3QgZWxlbWVudCBvZiBhcmdzIGlzIHJlc2VydmVkIGZvciB0aGUgdGFyZ2V0IHBy b2dyYW0KICAvLyBuYW1lLCBhbmQgdGhlIGxhc3QgZWxlbWVudCBpcyByZXNlcnZlZCBmb3IgdGhl IE5VTEwgcG9pbnRlci4KICBjaGFyICphcmdzW0FSR1NfU0laRV07CiAgaWYgKGFyZ2MgPiBBUkdT X1NJWkUpIHsKICAgIC8vIFdlIGNhbid0IGZpdCBldmVyeXRoaW5nIGludG8gaW50byBhcmdzLgog ICAgcHJpbnRmKCJTcGVjaWZ5IDEgcHJvZ3JhbSBuYW1lIGFuZCBhdCBtb3N0ICVkIGFyZ3VtZW50 c1xuIiwgQVJHU19TSVpFIC0gMik7CiAgICByZXR1cm4gMjsKICB9CiAgcHJpbnRmKCJhcmdjOiAl ZFxuIiwgYXJnYyk7CiAgcHJpbnRmKCJhcmd2WzBdOiAlc1xuIiwgYXJndlswXSk7CiAgY2hhciAq dGFyZ2V0X3Byb2dyYW0gPSBhcmd2WzFdOwogIGlmIChOVUxMID09IHRhcmdldF9wcm9ncmFtKSB7 CiAgICBwdXRzKCJTcGVjaWZ5IGEgcHJvZ3JhbSB0byBydW4iKTsKICAgIHJldHVybiAyOwogIH0K ICBmb3IgKGludCBpID0gMDsgaSA8IEFSR1NfU0laRTsgaSsrKSB7CiAgICBhcmdzW2ldID0gYXJn dltpICsgMV07CiAgICBwcmludGYoImFyZ3NbJWRdOiAlc1xuIiwgaSwgYXJnc1tpXSk7CiAgICBp ZiAoTlVMTCA9PSBhcmdzW2ldKSB7CiAgICAgIGJyZWFrOwogICAgfQogIH0KICBpZiAocGVyc29u YWxpdHkoUEVSX0xJTlVYMzIpID09IC0xKSB7CiAgICBwZXJyb3IoImZhaWxlZCB0byBzZXQgcGVy c29uYWxpdHkiKTsKICAgIHJldHVybiAxOwogIH0KICBwdXRzKCJcbi0tLSBFeGVjdXRpbmcgcHJv Z3JhbSAtLS1cbiIpOwogIGV4ZWN2KHRhcmdldF9wcm9ncmFtLCBhcmdzKTsKfQo= --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlxn66oACgkQ3UCaFdgi Rp13hw/+Kaa4+0aiIaF8NGtb3/ijPR/rn5SwmFYwQJgXDp7COf/Taul8WP8CF/Pv LnjXkuxmkbhItsx4BW6l9vGG52nNUCKkNiIwG7/wuLmFusjSTh4iRNDEtSN8zeap 34R3qODo5O87DFpaFLb9+N0Xxndg5grml2d9ARZZO1jrSiJv9Eme/qCwYnFvY/Gf rwONILoeyOREJKxHdoQt0N1lWFoaJPP/uRWtITFETZGC/cpfDPnr4JmWd7RXqsZ0 LKSx7oW/V1tsfqgV4fAJHgZp6xbm2whOi7ufsEznDG9ZaLO304qO1fMIyZ0IgIBo jyAxGjKlAMmqQGB2jDSg4q8CBVG5bEQZatArIRnXanjfgXDD33izDmjhw648p2oz GtURfMSYRS4NigpCwwXCLKASqmajdGyOHX/LJtsWNE1XBV65b+HyY/WBek2UWYii jCnlo7UlVYAPIFUObWc45uD0peEk7TFs2UqWKHkNUQPUz1trvdajZF29ZeVTtond /3V9GPrtKBYmg+Z9vDNv73YIijxT5UxM63wBwWvNo5pI6Wcds+leJFkkMSJI6wGG BvG4xrO8t/WYVZwSd3ST7ji8YKb+b25lYnpHMDmoToVxXuftoFYmrgz+F6GWduJI vGMWaK/aw8oR/dYOa28beT3+xMnlKv+qOuaYh80Q2CVT0OAjRVQ= =gWw7 -----END PGP SIGNATURE----- --==-=-=--