From 1ec3f1dbbf81c413948f72de17b47347f253444b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 24 Sep 2024 15:02:37 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"gcc:=20gcc=5F13=20=E2=86=92=20gcc=5F1?= =?UTF-8?q?4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e9cdb2274152ab7e7646406cebec791a47a48c7d. We've encountered multiple GCC 14 internal compiler errors on aarch64. If we wanted to keep it as the default compiler, we'd either have to track the 14.x release branch, or backport about half of it. One Bugzilla thread mentions six patches that should be backported. This doesn't feel good to have as the default compiler. Let's stick with 13 for now until 14.3 is released, hopefully with all the fixes. --- nixos/doc/manual/release-notes/rl-2411.section.md | 2 -- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 12cb8b38704f..68fd59fa96c2 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -17,8 +17,6 @@ [2.24](https://nix.dev/manual/nix/latest/release-notes/rl-2.24). Notable changes include improvements to Git fetching, documentation comment support in `nix-repl> :doc`, as well as many quality of life improvements. -- GCC now defaults to major version 14 from previous 13. ([GCC Porting Guide](https://gcc.gnu.org/gcc-14/porting_to.html)) - - Convenience options for `amdgpu`, open source driver for Radeon cards, is now available under `hardware.amdgpu`. - [AMDVLK](https://github.com/GPUOpen-Drivers/AMDVLK), AMD's open source Vulkan driver, is now available to be configured as `hardware.amdgpu.amdvlk` option. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26b089ea720d..e74a52d29697 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14695,7 +14695,7 @@ with pkgs; gbforth = callPackage ../development/compilers/gbforth { }; - default-gcc-version = 14; + default-gcc-version = 13; gcc = pkgs.${"gcc${toString default-gcc-version}"}; gccFun = callPackage ../development/compilers/gcc; gcc-unwrapped = gcc.cc;