-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Copy bin/*
and lib/*.dylib
files to stage0-sysroot
"
#108280
Conversation
This reverts commit 6990ab9.
@bors try @rust-timer queue Testing if this fixes bootstrap measurement. |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit c55177e with merge 3f4f43fc7c52a1365acb650bde97b39a5ed1cf59... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
apparently this wasn't even the problem :(
I'm suspecting #107834; cc @zephaniahong |
This PR reverts the PR that caused the problem to appear and break perf, but I think there should be a fix. |
But I think it is the combination of those two PRs that is the problem, each PR in isolation is good I think. |
Finished benchmarking commit (3f4f43fc7c52a1365acb650bde97b39a5ed1cf59): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
Any actions required by me? |
It seems like this didn't help, as there are no bootstrap timings. The failure is probably not shown, because it also failed before this PR I think. |
This likely didn't fix it, because the rustc step was less than a minute (I was monitoring the status page) Does the runner gets a fully new env each time, or is some FS data kept across executions? |
The |
This may be the problem, because it complains that the file already exists. |
Where is this file located? I tried to clean the
(This might be the second error though, it's a bit confusing). |
@Kobzol The symlink file should be in |
Aha, the problem is in another directory. From $ rm -rf rust/build
$ RUST_BACKTRACE=1 cargo run --bin collector bench_local --id dc89a803d64fb6172c8406996831353bee18c3a7 /home/kobzol/.rustup/toolchains/nightly-2023-02-18-x86_64-unknown-linux-gnu/bin/rustc --bench-rustc --iterations 1 --cargo /home/kobzol/.rustup/toolchains/nightly-2023-02-18-x86_64-unknown-linux-gnu/bin/cargo --include await
(examined with strace)
[pid 40260] symlink("/projects/personal/rust/rustc-perf/rust/build/x86_64-unknown-linux-gnu/rustfmt/bin/rustfmt", "/projects/personal/rust/rustc-perf/target/debug/rustfmt") = -1 EEXIST (File exists) So the problem is that |
Does this has to do with (maybe) the fake Rustc shims? |
From my knowledge, It should ideally write to
Would bisecting it and checking help in any way? |
I'd think so.
It's a local binary path, that makes bootstrap think |
#108302 fixed perf, right? Does that mean we can close this revert? |
Yes, this can be closed now. |
This reverts commit 6990ab9 (PR #107956).
Hopefully this reverts the right thing, first time I revert something.
r? @jyn514