-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Startup objects disappearing when running testsuite #120784
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Feb 8, 2024
onur-ozkan
added
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Feb 8, 2024
Thank you for reporting this. The proposed fix seems quite correct to me. Would you like to submit a PR? |
Ok. Need to finish the reading of the contributing document first :-) |
For such small changes, you can simply open the PR with a resonable title and commit message. Nothing more needed :) |
Nikokrock
added a commit
to Nikokrock/rust
that referenced
this issue
Feb 9, 2024
When launching tests with --keep-stage option, startup objects such as rsbegin.o an rsend.o may disappear from the corresponding stageN compiler. Fix issue rust-lang#120784
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Feb 9, 2024
…objects, r=onur-ozkan Startup objects disappearing from sysroot When launching tests with --keep-stage option, startup objects such as rsbegin.o an rsend.o may disappear from the corresponding stageN compiler. Fix issue rust-lang#120784
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Feb 9, 2024
…objects, r=onur-ozkan Startup objects disappearing from sysroot When launching tests with --keep-stage option, startup objects such as rsbegin.o an rsend.o may disappear from the corresponding stageN compiler. Fix issue rust-lang#120784
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 9, 2024
Rollup merge of rust-lang#120831 - Nikokrock:pr/disappearing_startup_objects, r=onur-ozkan Startup objects disappearing from sysroot When launching tests with --keep-stage option, startup objects such as rsbegin.o an rsend.o may disappear from the corresponding stageN compiler. Fix issue rust-lang#120784
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Hi,
I was running the following command for the x86_64-pc-windows-gnu platform after bootstrapping completely the compiler:
I had some strange link issues (output simplified):
After some investigation it seems that when calling Assemble step we reach the Std step and the following code:
Due to my options, we enter the if block and thus
builder.ensure(StartupObjects { compiler, target });
which is in charge of compiling and installing in the sysroot dir is not called. rsbegin.o and rsend.o are not copied and thus not found.As a consequence the linker command looks like "rsend.o" instead of "<ABSOLUTE_PATH>"/rsend.o (likewise for rsbegin.o)
I am new to Rust, but I think that the right patch would be to add.
in the first if block. It worked for me, but not sure this is the right thing to do.
Thanks
The text was updated successfully, but these errors were encountered: