-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Latest nightly crashes on centos 5 #56849
Comments
Ok I've confirmed #55952 is the cause of this bug. I don't really know how this is showing up though as none of the symbols which use
None of those symbols are even used from This may be some LLD change though because if I disable ThinLTO for LLVM itself then these symbol references seem to go away... |
Ok I've bisected this to rust-lang/lld@103b4dc, which makes sense sort of because that's injecting references to all builtins, even if we're not actually using them. I'll follow up with LLVM later tomorrow |
Or actually, I've gone ahead and opened an upstream bug report to get the ball rolling there. This is also a beta regression as well, so I'm retagging as such. I believe the only solution we have for now on this is to turn off ThinLTO, so I'm going to send a PR to do that. |
This commit goes back to disabling ThinLTO for building LLVM and its tools. It turns out that this caused a regression at rust-lang#56849 which I believe we'll definitely want to fix before it goes live. The bisection turned up an [upstream LLVM bug][bug], so hopefully there'll eventually be a fix we can backport. I've also been a little uneasy about how we're only enabling ThinLTO for LLVM on Linux, and we haven't had a chance to turn it on for OSX and Windows (other "Tier 1" platforms) yet. Additionally it had an unexpected hit to CI time we never got around to fixing. I'd ideally prefer that we fix these issues as well before re-landing. Closes rust-lang#56849 [bug]: https://bugs.llvm.org/show_bug.cgi?id=40045
Er turns out this is likely already fixed at llvm-mirror/lld@3be4e82, so I can try out building that locally |
This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix rust-lang#56849 by picking up a fix [1] in LLD. Closes rust-lang#56849 [1]: llvm-mirror/lld@3be4e82
…rister rustc: Update Clang used to build LLVM on Linux This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix rust-lang#56849 by picking up a fix [1] in LLD. Closes rust-lang#56849 [1]: llvm-mirror/lld@3be4e82
…rister rustc: Update Clang used to build LLVM on Linux This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix rust-lang#56849 by picking up a fix [1] in LLD. Closes rust-lang#56849 [1]: llvm-mirror/lld@3be4e82
…rister rustc: Update Clang used to build LLVM on Linux This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix rust-lang#56849 by picking up a fix [1] in LLD. Closes rust-lang#56849 [1]: llvm-mirror/lld@3be4e82
…rister rustc: Update Clang used to build LLVM on Linux This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix rust-lang#56849 by picking up a fix [1] in LLD. Closes rust-lang#56849 [1]: llvm-mirror/lld@3be4e82
rustc: Update Clang used to build LLVM on Linux This commit updates from LLVM 7.0.0 to git revisions of clang/llvm/lld to build LLVM on our dist builders for Linux. The goal of this is to fix #56849 by picking up a fix [1] in LLD. Closes #56849 [1]: llvm-mirror/lld@3be4e82
This seems to have regressed again: https://travis-ci.org/PyO3/pyo3-pack/jobs/476983489 with this Dockerfile: https://github.com/PyO3/pyo3-pack/blob/master/Dockerfile Relevant excerpt:
|
Indeed! This should be fixed in #57429 |
I believe rust-lang/rust#56849 has been released now.
This can be reproduced in a centos 5 docker container, such as the one provided by python's pypa:
The last command produces the following error:
Versions:
cat /etc/redhat-release
:CentOS release 5.11 (Final)
cargo -V
:cargo 1.33.0-nightly (2cf1f5dda 2018-12-11)
rustc -V
:rustc 1.33.0-nightly (96d1334e5 2018-12-14)
rustc -vV
: crashes with the same output as aboveThe text was updated successfully, but these errors were encountered: