-
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
WARN rustc_codegen_ssa::back::link
Linker does not support -static-pie command line option
#109855
Comments
What's your operating system/distro/version? |
[root@ecs-328561 ~]# uname -a |
[root@7700K ~]# uname -a |
rustc_codegen_ssa::back::link
Linker does not support -static-pie command line optionLinker does not support -static-pie command line option
rustc_codegen_ssa::back::link
Linker does not support -static-pie command line optionLinker does not support -static-pie command line optionrustc_codegen_ssa::back::link
Linker does not support -static-pie command line option
CentOS 7 is ancient, it was released in 2014. This is probably a real incompatibility with the command line we generate to pass to the linker. That said, it looks like cc @cuviper |
Yes, and the fallback is intentionally in place to deal with that: #72708 Also, note that CentOS 7 does have newer tools available on the side. First
I would agree with that, at least when the PIE part is getting enabled implicitly. |
Why does this warning appear? How should I remove it?
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: