Skip to content

make check-stage1 is broken for run-make/bootstrap-from-c-with-green #13732

@pnkfelix

Description

@pnkfelix

There is something funky going on when I currently try to use make check-stage1 on a clean checkout of rust (commit e01e78f)

https://gist.github.com/pnkfelix/11260219

Summary of how the story in that gist ends:



% rm -rf x86_64-apple-darwin/stage1/lib/stamp.green
% rm -rf x86_64-apple-darwin/stage1/lib/stamp.rustuv
% rm -rf x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green/libboot-c9bec0e5-0.1.dylib
% remake --trace check-stage1
...
##>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt/x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green/main
##<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#0 all at /Users/fklock/Dev/Mozilla/rust.git/src/test/run-make/bootstrap-from-c-with-green/Makefile:3
remake[1]: Leaving directory `/Users/fklock/Dev/Mozilla/rust.git/src/test/run-make/bootstrap-from-c-with-green'
Command-line invocation:
"/Users/fklock/opt/remake/bin/remake -C /Users/fklock/Dev/Mozilla/rust.git/src/test/run-make/bootstrap-from-c-with-green/"

------ stderr ---------------------------------------------
dyld: Symbol not found: __ZN10event_loop20h1197db882d44291cDOf9v0.11.preE
Referenced from: /Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt/x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green/libboot-c9bec0e5-0.1.dylib
Expected in: /Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt/x86_64-apple-darwin/stage1/lib/librustuv-30cdf6fe-0.11-pre.dylib
in /Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt/x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green/libboot-c9bec0e5-0.1.dylib
Makefile:3: *** [all] Trace/BPT trap: 5

------ ---------------------------------------------

/Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:922: *** [x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green-1-T-x86_64-apple-darwin-H-x86_64-apple-darwin.ok] Error 2

#0 x86_64-apple-darwin/test/run-make/bootstrap-from-c-with-green-1-T-x86_64-apple-darwin-H-x86_64-apple-darwin.ok at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:922
#1 tmp/check-stage1-T-x86_64-apple-darwin-H-x86_64-apple-darwin-rmake.ok at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:923
#2 check-stage1-T-x86_64-apple-darwin-H-x86_64-apple-darwin-rmake-exec at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:923
#3 check-stage1-T-x86_64-apple-darwin-H-x86_64-apple-darwin-exec at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:332
#4 check-stage1-T-x86_64-apple-darwin-H-x86_64-apple-darwin at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:807
#5 check-stage1-H-x86_64-apple-darwin at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:847
#6 check-stage1 at /Users/fklock/Dev/Mozilla/rust.git/mk/tests.mk:828
Command-line invocation:
"/Users/fklock/opt/remake/bin/remake --trace check-stage1"
%

@alexcrichton says he often just runs make check-stage1-rpass, so that is sort of a workaround for the near term.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions