Skip to content

ERROR:rbml::reader: failed to find block with tag 258 while compiling 1.2 for arm-unknown-linux-gnueabi #27645

Closed
@Phyllostachys

Description

@Phyllostachys

While compiling rust 1.2.0 on a Ubuntu 15.04 virtualbox VM for arm-unknown-linux-gnueabi, I ran into a panic compiling src/librbml/libs.rs at line 395.

My configuration and build commands:

./configure --target=arm-unknown-linux-gnueabi
make -j4

My rustc --version --verbose output:

rustc 1.2.0 (082e47636 2015-08-03)
binary: rustc
commit-hash: 082e4763615bdbe7b4dd3dfd6fc2210b7773edf5
commit-date: 2015-08-03
host: i686-unknown-linux-gnu
release: 1.2.0

My backtrace (with some context):

...
rustc: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_borrowck
ERROR:rbml::reader: failed to find block with tag 258
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'explicit panic', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librbml/lib.rs:395

stack backtrace:
   1: 0xb6ec2b02 - sys::backtrace::write::he3b50ffa93e66db3y6r
   2: 0xb6ec7503 - panicking::on_panic::ha14323fb995878d9JMw
   3: 0xb6e9f941 - rt::unwind::begin_unwind_inner::h6792445ed6162316Trw
   4: 0xb5a52592 - rt::unwind::begin_unwind::h2091379484899282860
   5: 0xb5a51167 - reader::get_doc::h47a4bbc19d18a7d4Uxa
   6: 0xb59b9b2c - metadata::decoder::get_crate_deps::h5a46707396db73b9Gtl
   7: 0xb59cc574 - metadata::creader::CrateReader<'a>::register_crate::h4663e36cd14bd9238rm
   8: 0xb59cadbc - metadata::creader::CrateReader<'a>::resolve_crate::habc4ea13f42e50b5Aum
   9: 0xb59c645d - metadata::creader::CrateReader<'a>.visit..Visitor<'v>::visit_item::h6836dc1aa3e3a5baMZl
  10: 0xb59c9d40 - metadata::creader::CrateReader<'a>::read_crates::h927d1f291dff20f33dm
  11: 0xb5181c4c - driver::phase_3_run_analysis_passes::h84379ac2cda63543GGa
  12: 0xb51651c6 - driver::compile_input::h57c7922222e482fcQba
  13: 0xb522d61d - run_compiler::hbeaaa17f1cef5e78o6b
  14: 0xb522a96e - boxed::F.FnBox<A>::call_box::h11989744525548034558
  15: 0xb522a141 - rt::unwind::try::try_fn::h10106055873462282994
  16: 0xb6ecce5a - rust_try_inner
  17: 0xb6ecce33 - rust_try
  18: 0xb6eba84c - rt::unwind::try::inner_try::hebc238d1b3890071Mnw
  19: 0xb522a368 - boxed::F.FnBox<A>::call_box::h14253436629357441387
  20: 0xb6ec62a4 - sys::thread::Thread::new::thread_start::h87fdae7c6e8012132xv
  21: 0xb507c1a9 - start_thread
  22: 0xb4f2bfdd - clone
  23:        0x0 - <unknown>

/home/jps/compiling-stuff/rustc-1.2.0/mk/target.mk:171: recipe for target 'i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/stamp.rustc_borrowck' failed
make: *** [i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/stamp.rustc_borrowck] Error 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-metadataArea: Crate metadataI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions