-
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
Compiling LLVM crashes under GCC 4.7 #2641
Comments
Can you try GCC 4.7.1? I have GCC 4.7.1 and I don't get this error. It might also be 64-bit only that fails. Apparently a quick way to fix it is EDIT: I got this error when compiling with GCC 4.7.1 on an x86_64 system, too. |
Looks like the fix is llvm-mirror/clang@b86b855 in the clang repo, if we want to cherry-pick it. It's also pulled up to the release_31 branch, but Rust seems to be currently using a snapshot of master (trunk) from about a week after 3.1 was branched (and a few days before the fix for this: llvm-mirror/clang@9b94cd1). |
Or, to annotate my clearer explanation from IRC: April 18th: 3.1 is branched. (llvm-mirror/clang@103f41d) |
I got the same bug on ArchLinux 64bit with GCC 4.7.1 |
We're ought to advance our llvm and clang snapshots (and probably libuv too). |
Took an LLVM bump with 668e2c8, just checked, we build ok with 4.7.1 now. |
InitOnce: synchronize with completion when already complete The completion of an InitOnce happens-before the threads waiting on it wake up. However, this is not the case for threads that call `InitOnceBeginInitialize` after the completion, leading to data races and outdated weak memory loads as observed in the CI for rust-lang#2638. This PR fixes this.
InitOnce: synchronize with completion when already complete The completion of an InitOnce happens-before the threads waiting on it wake up. However, this is not the case for threads that call `InitOnceBeginInitialize` after the completion, leading to data races and outdated weak memory loads as observed in the CI for rust-lang#2638. This PR fixes this.
When compiling LLVM (as a part of compiling rust), I noticed a crash while clang was attempting to bootstrap. I believe this is fixed in the latest LLVM trunk. The complete build log is included below.
The text was updated successfully, but these errors were encountered: