{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24065","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24065/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24065/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24065/events","html_url":"https://github.com/rust-lang/rust/issues/24065","id":66317341,"number":24065,"title":"rustc/cargo execution fail under debootstrapped chroot env","user":{"login":"tuttle","id":57589,"avatar_url":"https://avatars.githubusercontent.com/u/57589?v=3","gravatar_id":"","url":"https://api.github.com/users/tuttle","html_url":"https://github.com/tuttle","followers_url":"https://api.github.com/users/tuttle/followers","following_url":"https://api.github.com/users/tuttle/following{/other_user}","gists_url":"https://api.github.com/users/tuttle/gists{/gist_id}","starred_url":"https://api.github.com/users/tuttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuttle/subscriptions","organizations_url":"https://api.github.com/users/tuttle/orgs","repos_url":"https://api.github.com/users/tuttle/repos","events_url":"https://api.github.com/users/tuttle/events{/privacy}","received_events_url":"https://api.github.com/users/tuttle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-04T12:59:17Z","updated_at":"2015-04-04T13:02:20Z","closed_at":"2015-04-04T13:02:20Z","body":"On my Ubuntu 14.04.2 LTS (Trusty), 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015 i686 i686 i686 GNU/Linux system I did this:\r\n\r\n   # debootstrap trusty /tmp/trusty\r\n   # chroot /tmp/trusty/\r\nInside, I used rustup.sh to install rust. When I run rustc and cargo, they report:\r\n\r\n$ rustc\r\nthread '<unnamed>' panicked at 'assertion failed: `(left == right)` (left: `2`, right: `0`)', /home/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-linux/build/src/libstd/sys/unix/thread.rs:73\r\nfatal runtime error: Could not unwind stack, error = 5\r\nIllegal instruction\r\n$\r\n\r\nOutput of strace -f -t rustc is attached.\r\n\r\nThe same happens when I debootstrap Debian Wheezy on my Ubuntu Trusty.\r\n\r\nWhen I install rust outside the chroot, all is fine.\r\n\r\n"}}