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

Migrate from gcc 12 to gcc 13 as a default #262225

Closed
trofi opened this issue Oct 20, 2023 · 4 comments
Closed

Migrate from gcc 12 to gcc 13 as a default #262225

trofi opened this issue Oct 20, 2023 · 4 comments

Comments

@trofi
Copy link
Contributor

trofi commented Oct 20, 2023

Describe the bug

At least on linux default used gcc is 12. Outdated compilers generally tend to have more unfixed bugs than new ones.

Additional context

Add any other context about the problem here.

A recent example is https://gcc.gnu.org/PR55522 and libsodium's jedisct1/libsodium@ad4584d where -Ofast broke many packages due to gcc-12 (and older) deficiency.

Notify maintainers

@Synthetica9 @vcunat @Ericson2314

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.7, NixOS, 23.11 (Tapir), 23.11.20231020.d06515a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `""`
 - channels(slyfox): `""`
 - nixpkgs: `/run/current-system/sw/share/nixos-flakes/inputs/nixpkgs`
@vcunat
Copy link
Member

vcunat commented Oct 20, 2023

This certainly won't make it to NixOS 23.11.

Usual porting reference: https://gcc.gnu.org/gcc-13/porting_to.html

@Gerg-L
Copy link
Contributor

Gerg-L commented Oct 21, 2023

This would probably be a good idea right after 23.11

@trofi
Copy link
Contributor Author

trofi commented Feb 17, 2024

Was done with #268097 with quite a bit of fallout. The rest of fallout will have to be addressed on a case-by-case basis.

Closing as done.

@trofi trofi closed this as completed Feb 17, 2024
@vcunat
Copy link
Member

vcunat commented Feb 18, 2024

This one is related: #284165

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

No branches or pull requests

3 participants