Skip to content
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

Rationale for Using x86_64-linux-gnu with CentOS? #669

Closed
Alexhuszagh opened this issue Mar 22, 2022 · 2 comments
Closed

Rationale for Using x86_64-linux-gnu with CentOS? #669

Alexhuszagh opened this issue Mar 22, 2022 · 2 comments
Labels

Comments

@Alexhuszagh
Copy link
Contributor

Alexhuszagh commented Mar 22, 2022

Looking at the source code for cross, the only image that uses a CentOS base image is x86_64-unknown-linux-gnu, and the only relevant commit I can find for this addition is here, which has no explanation of the rationale.

Since CentOS 8 is EOL, and CentOS 7 is discontinued, it might be preferable to use Ubuntu as a base image for x86_64-unknown-linux-gnu, which would also simplify other issues like #517 (and the associated PR #591). If there is a good reason to keep CentOS as a base image, I would love to know, otherwise, I am happy to submit a PR to remove the CentOS logic and simplify package installation, image upgrades, etc.

@Emilgardis
Copy link
Member

Emilgardis commented Mar 22, 2022

The rationale is that people are still using CentOS 7 (and by extension needs GLIBC 1.15), see #455 for example.

I can't find any info about CentOS 7 being unsupported now, if/when it is i think we'd gladly drop support for it

@Alexhuszagh
Copy link
Contributor Author

Yeah maybe my wording was wrong: CentOS 8 is EOL and CentOS 7 is receiving security updates. I'll work around this to upgrade the Ubuntu base image, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants