[BUG]: rustc_codegen_gcc not updating?
See original GitHub issueDescribe the bug
It seems the compiler rustccggcc-master is not being updated.
The version shown in here for example (rustc 1.56.0-nightly (ccffcafd5 2021-08-11)
) is 5 months old.
I can also confirm that it generates code that should not be generated anymore.
Note: I think I might know what could cause this issue: I sometimes rewrote the history in this git repo and also in this one. Could that be the problem?
Steps to reproduce
Compile any Rust code with rustccggcc-master and look at the compiler version.
Expected behavior
The version should be the same (or close to) the one in this file (nightly-2021-12-30).
Reproduction link
https://godbolt.org/z/s9WTrdx8o
Screenshots
Not applicable
Operating System
No response
Browser version
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (11 by maintainers)
Top Results From Across the Web
rust-lang/rustc_codegen_gcc: libgccjit AOT codegen for rustc
The primary goal of this project is to be able to compile Rust code on platforms unsupported by LLVM. A secondary goal is...
Read more >GCC codegen now under rust-lang organization. - Reddit
rust git repo shows rustc_codegen_cranelift is directly included in the repo, not as a submodule. I can see rustc_codegen_llvm (translating MIR ...
Read more >Compiling Rust with GCC: an update - LWN.net
> Part of the idea is to stabilize rust: right now, there are no bugs in rustc, because the language is defined as...
Read more >How do I fix the error "couldn't load codegen backend" on ...
I'm using macOS 10.11.6 with Rust 1.30.1 installed via rustup. gcc is Apple LLVM version 8.0.0 (clang-800.0.42.1) .
Read more >Rust front-end merged in GCC trunk | Hacker News
FSF wants to support Rust as a first-class language in GCC, which means their own implementation and ability to bootstrap without dependence on ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s possible that the version number is cached somewhere… But if you can confirm codegen is really from latest code, that’s great.
One way to “see” it, is to disable filters and check the assembly file near the end https://godbolt.org/z/396nMs919
We can see the diff between the info version in the UIThat’s theccff.....
and the above.rustc
version here. Looking at the SHA1 above is correct: e690fb12731eb5f86d4c88400a344f65607af385 points to https://github.com/rust-lang/rustc_codegen_gcc/commit/e690fb12731eb5f86d4c88400a344f65607af385 which is the latest one.Ok, I pushed a commit. Let’s see tomorrow if it’s fixed. Thanks!