Skip to content

Compiler told me to report bug: "can't determine value for sysroot" #16229

Closed
@logicchains

Description

@logicchains

I encountered the following output when trying to compile a simple program (well, any simple program) with rustc:

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://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'can't determine value for sysroot', /build/rust/src/rust-nightly/src/librustc/metadata/filesearch.rs:179

And so I'm duly reporting it. My OS is the latest ARMv7 ArchLinux build, running on a Galaxy SIII (in a chroot). It was working previously, but then I rebooted the phone and attempted to run rustc before I had properly mounted sysfs, proc and devpts. If I mount those, it works fine. So the bug isn't an actual hindrance, but nevertheless I'm reporting it as requested by the compiler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-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