Skip to content

task 'rustc' failed at 'No triple in crate' #13730

Closed
@Bastacyclop

Description

@Bastacyclop

This is happening on all my calls to rustc (on old code) since I updated my rust installation (from approximately rustc 0.10-pre). I have no idea what's the origin of the problem.

I'm using:

Linux 3.10.32-2-MANJARO x86_64
rustc 0.11-pre (e01e78f 2014-04-24 03:21:28 -0700)

Here is the problem:

$ RUST_BACKTRACE=1 rustc src/lib.rs --crate-type dylib --out-dir lib -L lib -L extlib
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'No triple in crate', /[...]/rust/src/libstd/option.rs:245
stack backtrace:
   1:     0x7f8eee524730 - rt::backtrace::imp::write::hc86ba04aed6ac33aTva::v0.11.pre
   2:     0x7f8eee4841a0 - rt::unwind::begin_unwind_inner::h0cc55cf2fa478ddbY59::v0.11.pre
   3:     0x7f8eeeecff10 - rt::unwind::begin_unwind::h3288594639969284230::v0.11.pre
   4:     0x7f8eef65b3b0 - metadata::decoder::get_crate_triple::h6a949d6eff0be550e5b::v0.11.pre
   5:     0x7f8eef674bd0 - metadata::loader::Context<'a>::extract_one::hbe9b35dad4445b1eipe::v0.11.pre
   6:     0x7f8eef66db00 - metadata::loader::Context<'a>::find_library_crate::hfc96b2d38ef39aefBSd::v0.11.pre
   7:     0x7f8eef669d70 - metadata::loader::Context<'a>::load_library_crate::hdcc203df51d4d408ZEd::v0.11.pre
   8:     0x7f8eef6656d0 - metadata::creader::resolve_crate::h4bd8e1cb627f7c28PGc::v0.11.pre
   9:     0x7f8eef65e8c0 - metadata::creader::Env<'a>.visit..Visitor<(*>::visit_view_item::h8c5d2564889c01986fc::v0.11.pre
  10:     0x7f8eef65dae0 - metadata::creader::read_crates::hfda7e8030c276a23dfc::v0.11.pre
  11:     0x7f8eef2ba6a0 - util::common::time::h13269125970760904882::v0.11.pre
  12:     0x7f8eef6f7ea0 - driver::driver::phase_3_run_analysis_passes::h6e37642aa8826fc12Rf::v0.11.pre
  13:     0x7f8eef6fe3e0 - driver::driver::compile_input::hcb3c3488391803230hg::v0.11.pre
  14:     0x7f8eef7230c0 - run_compiler::hd77164d8a65f1492ROn::v0.11.pre
  15:     0x7f8eef73af40 - main_args::closure.91672
  16:     0x7f8eef739440 - monitor::closure.91547
  17:     0x7f8eef734d30 - task::TaskBuilder::try::closure.91313
  18:     0x7f8ef14ddff0 - task::spawn_opts::closure.7137
  19:     0x7f8eee51f770 - rt::task::Task::run::closure.40104
  20:     0x7f8eee52a670 - rust_try
  21:     0x7f8eee51f5b0 - rt::task::Task::run::h8f837b74e7c2ff5ciW7::v0.11.pre
  22:     0x7f8ef14dddc0 - task::spawn_opts::closure.7110
  23:     0x7f8eee523270 - rt::thread::thread_start::h074637b95d62dca2eB8::v0.11.pre
  24:     0x7f8eede5dfe0 - start_thread
  25:     0x7f8eee158ce9 - clone
  26:                0x0 - <unknown>

This is my first bug report, I hope it is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions