compiler-explorer: [BUG]: rustc_codegen_gcc not updating?

Describe 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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (11 by maintainers)

Most upvoted 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

        .ident  "GCC: (Compiler-Explorer-Build-cggcc-e690fb12731eb5f86d4c88400a344f65607af385-gcc-13789ac0a9f3e2ee42e38927e657a910df793de5) 12.0.0 20220102 (experimental)"

We can see the diff between the info version in the UI ccff..... and the above. That’s the 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!

Seems like I broke it somehow. the untarred directory has the tar name in it!

Jan/14 15:16 admin-node~/infra (main|✔) 32.8s $ ls /opt/compiler-explorer/staging/rustc-cg-gcc-master-20220112.tar.xz/
bin/  etc/  lib/  libexec/  share/  sysroot/                                                                          
Jan/14 15:18 admin-node~/infra (main|✔) $ ls /opt/compiler-explorer/staging/                                          
rustc-cg-gcc-master-20220112.tar.xz/