-
Notifications
You must be signed in to change notification settings - Fork 13k
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
linking error: unknown agrument -no-pie
#73370
Comments
This is a regression from #71769. |
Looks like the |
I'll fix this today. |
Assigning |
Fixed in #73384. |
awesome, i will confirm it, once it's in a good nightly build :) |
Just wanted to confirm that with |
SUMMARY:
ǹightly-2020-04-17
andnightly-2020-06-10
linking behavior changes which broke my cross compilation from linux to macos. It now adds the-no-pie
which is unknown by my compiler.leaving it out would probably fix the error. Below are detailed informations about my project and the cross compilation setup in order to reproduce.
Error message:
I tried this code:
We for the veloren project we have a CI docker container. i tried to update the toolchain.
with docker the error is reproduceable quite easy, however if you are familar with docker you can skip some steps in order to save you a hour of compilation
I expected to see this happen:
Instead, this happened:
-no-pie
flag which isn't supported. Interestingly when you search in the rust code for this flag, you'll find a refactor about a month ago changingno-pie
behavior here: 96a466c. however i personally dont know how that caused the change.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: