[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1529226] Re: qemu-i386-user on 32-bit Linux: uncaught
From: |
PeteVine |
Subject: |
[Qemu-devel] [Bug 1529226] Re: qemu-i386-user on 32-bit Linux: uncaught target signal 11 |
Date: |
Sat, 18 Jun 2016 00:53:03 -0000 |
My recollection is fuzzy but it would probably amount to something like
this on any platform currently:
- download rust-1.10 beta source https://static.rust-lang.org/dist
/rustc-beta-src.tar.gz
- download this stage0 snapshot
https://www.dropbox.com/s/01ywl9mwwo6xojw/rust-stage0-2016-04-18-b324fa7
-linux-armv7.tar.xz?dl=0
- unpack the stage0 rustc binary to ~/somewhere/bin, renaming it to
rustc.bin, and create a wrapper script named rustc in that directory
containing:
`/usr/bin/qemu-arm ~/somewhere/rustc.bin "$@"`
In the rustc source directory, start the rust bootstrap process (with LLVM 3.7
or higher installed) issuing the following command:
`./configure --enable-optimize --enable-local-rust
--local-rust-root=~/somewhere --llvm-root=/usr`
Followed by `make`.
At the time of the original report, QEMU wasn't able to complete all
crates' build commands naturally. (the stamp file had to be created
manually to continue)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1529226
Title:
qemu-i386-user on 32-bit Linux: uncaught target signal 11
Status in QEMU:
New
Bug description:
Even though the command I'm trying to run (a wrapper script for
qemu-i386-user running rustc, the rust compiler) produces the
expected compiled output, the build process is interrupted:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
i686-unknown-linux-gnu/stage0/bin/rustc: line 1: 7474 Segmentation fault
/usr/local/bin/qemu-i386 -cpu qemu32 /home/petevine/stage0/rustc.bin -C
target-cpu=pentium2 -L
/home/petevine/unpacked/rust-master/i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/
"$@"
make: ***
[i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/stamp.rustc_back]
Error 139
The stamp file is not being created so this could be about forking
bash after finishing the wrapper script.
Qemu was compiled from the latest git source.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1529226/+subscriptions