Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions files/rustc/gnu.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[files]]
name = "rustc/binutils-2.44.tar.xz"
source = "https://sourceware.org/pub/binutils/releases/binutils-2.44.tar.xz"
sha256 = "ce2017e059d63e67ddb924e09d4ec49c2893605035cd60e92ad53177f4377237"
license = "GNU General Public License"

[[files]]
name = "rustc/gcc-8.4.0.tar.xz"
source = "https://bigsearcher.com/mirrors/gcc/releases/gcc-8.4.0/gcc-8.4.0.tar.xz"
sha256 = "e3a06e52d1e01f27ed55104ad233c3b0d1e99cfb5ff98ab022dc941edd1b2dd4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I downloaded gcc-8.4.0.tar.xz and the sha doesn't correspond. What am I doing wrong? 🤔

$ sha256 gcc-8.4.0.tar.gz
SHA256 (gcc-8.4.0.tar.gz) = 41e8b145832fc0b2b34c798ed25fb54a881b0cee4cd581b77c7dc92722c116a8

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. But it must be something wrong on your side. Is it really tar archive?

The only problem I'm confused is that sha256sum tells me:
e30a6e52d10e1f27ed55104ad233c30bd1e99cfb5ff98ab022dc941edd1b2dd4
While your CI thinks it's:
e3a06e52d1e01f27ed55104ad233c3b0d1e99cfb5ff98ab022dc941edd1b2dd4
^^ (swaped characters?!)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I downloaded the tar from https://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/gcc-8.4.0.tar.xz not the mirror.
Can you calculate the sha256 on your laptop of the release on the gnu website?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I downloaded the tar from https://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/gcc-8.4.0.tar.xz not the mirror. Can you calculate the sha256 on your laptop of the release on the gnu website?

I already did it. It's the same as from mirror site.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I downloaded .gz instead of .xz
I also have swapped characters locally. not sure why

license = "GNU General Public License"