Skip to content

compiletest: make check-stage1 (or at least check-stage1-cfail) no longer works on clean build dir #17883

Closed
@pnkfelix

Description

@pnkfelix

When trying to do rustc development on the stage1 compiler, I've been hitting a link error.

I suspect something has gone wrong in our make dependencies because I think the problem goes away if you first do a full build before doing check-stage1-cfail (I think, though I have not double-checked that scenario from scratch in a clean build dir yet).

% uname -a
Darwin fklockii-Eris.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
% git log -1 --oneline
1b46b00 auto merge of #17784 : bkoropoff/rust/issue-17780, r=pcwalton
% ../configure --enable-debug --disable-optimize   --enable-ccache --enable-clang --prefix=~/opt/rust-dbg-nopt  && make clean && make check-stage1-cfail
[... expurgated ...]
/Users/pnkfelix/Dev/Mozilla/rust.git/src/compiletest/compiletest.rs:1:1: 1:1 error: can't find crate for `rt`
/Users/pnkfelix/Dev/Mozilla/rust.git/src/compiletest/compiletest.rs:1 // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
                                                                      ^
error: aborting due to previous error
make: *** [x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/bin/compiletest] Error 101

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