[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26468 [Applications/Tor Browser]: Compiling rustc on a 32bit Linux leads to segfault on some machines
#26468: Compiling rustc on a 32bit Linux leads to segfault on some machines
-------------------------------------+-------------------------------------
Reporter: gk | Owner: tbb-team
Type: defect | Status: new
Priority: High | Milestone:
Component: Applications/Tor | Version:
Browser | Keywords: ff60-esr, tbb-rbm,
Severity: Normal | TorBrowserTeam201806,
| GeorgKoppen201806
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------------
On one of my build machines I can't compile the Rust compiler for Linux
32bit. Rather, I get a segfault in stage0:
{{{
error: Could not compile `rustc`.
Caused by:
process didn't exit successfully:
`/var/tmp/build/rustc-1.26.1-src/build/build/bootstrap/debug/rustc
--crate-name rustc librustc/lib.rs --error-format json --crate-type dylib
--emit=dep-info,link -C prefer-dynamic -C opt-level=2 -C
metadata=62da728f128af3fa -C extra-filename=-62da728f128af3fa --out-dir
/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps --target i686
-unknown-linux-gnu -L
dependency=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps -L
dependency=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/release/deps --extern
syntax_pos=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libsyntax_pos-
956e46049acbb600.so --extern
rustc_back=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/librustc_back-
d5f9039f91fa232f.so --extern
flate2=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-
gnu/release/deps/libflate2-06a170b7b78daff3.rlib --extern
serialize=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libserialize-
be5d856205d3af9f.so --extern
serialize=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libserialize-
be5d856205d3af9f.rlib --extern
rustc_const_math=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-
linux-gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps
/librustc_const_math-1a374f4e5cd0912b.so --extern
backtrace=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libbacktrace-
cbe0b3a6423ab494.rlib --extern
lazy_static=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-
linux-gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/liblazy_static-
674a88edfbfebb58.rlib --extern
graphviz=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libgraphviz-
8ccf05007c6f4e63.so --extern
rustc_errors=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-
linux-gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps
/librustc_errors-1dfae20cf97cb076.so --extern
byteorder=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libbyteorder-
c95b5065cc316357.rlib --extern
syntax=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libsyntax-
bd1a771ca7a469d4.so --extern
tempdir=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libtempdir-
713a439227f6e59f.rlib --extern
bitflags=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libbitflags-
5ec3c7f454c41b77.rlib --extern
arena=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libarena-
3efd8026fabf93e2.so --extern
rustc_apfloat=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-
linux-gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps
/librustc_apfloat-4ae4d4d739a0e47d.rlib --extern
log=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/liblog-
ecf25297be670426.rlib --extern
fmt_macros=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libfmt_macros-
a9f532f6a542c80f.so --extern
rustc_data_structures=/var/tmp/build/rustc-1.26.1-src/build/build/i686
-unknown-linux-gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps
/librustc_data_structures-98fca6e9d8caf27c.so --extern
proc_macro=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libproc_macro-
d1676b8843c4f7c5.so --extern
jobserver=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/deps/libjobserver-
3052499a1818882b.rlib -L
native=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/build/backtrace-sys-
6855d45accb2e023/out/.libs -L
native=/var/tmp/build/rustc-1.26.1-src/build/build/i686-unknown-linux-
gnu/stage0-rustc/i686-unknown-linux-gnu/release/build/miniz-sys-
0d14bf4e8d0dcb19/out` (signal: 11, SIGSEGV: invalid memory reference)
thread 'main' panicked at 'cargo must succeed',
bootstrap/compile.rs:1064:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
command did not execute successfully: "/var/tmp/dist/rust-rust-
old/bin/cargo" "build" "--target" "i686-unknown-linux-gnu" "--release" "--
frozen" "--features" " jemalloc" "--manifest-path"
"/var/tmp/build/rustc-1.26.1-src/src/rustc/Cargo.toml" "--message-format"
"json"
expected success, got: exit code: 101
failed to run:
/var/tmp/build/rustc-1.26.1-src/build/build/bootstrap/debug/bootstrap
build
}}}
That might affect other builders as well and could harm our reproducible
builds efforts
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26468>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs