diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-06-22 06:21:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-06-22 06:23:16 +0000 |
commit | 0f2191f3b2295a9d3c8a959de745a64de40160ee (patch) | |
tree | 70a5aa7949cd22cb1644a09644929eab76e7d350 /pkgs/development/compilers/gcc/11 | |
parent | 091f3937e4705c85005f5faca6f8a0576bb2e069 (diff) | |
parent | 821428087d41ba7ac7fa15ceb8e8be86bdd4a0ce (diff) | |
download | nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar.gz nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar.bz2 nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar.lz nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar.xz nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.tar.zst nixpkgs-0f2191f3b2295a9d3c8a959de745a64de40160ee.zip |
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts: pkgs/development/compilers/gcc/11/default.nix
Diffstat (limited to 'pkgs/development/compilers/gcc/11')
-rw-r--r-- | pkgs/development/compilers/gcc/11/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/compilers/gcc/11/default.nix b/pkgs/development/compilers/gcc/11/default.nix index 304cd3c3811..f981d1ecbe7 100644 --- a/pkgs/development/compilers/gcc/11/default.nix +++ b/pkgs/development/compilers/gcc/11/default.nix @@ -50,7 +50,7 @@ with lib; with builtins; let majorVersion = "11"; - version = "${majorVersion}.3.0"; + version = "${majorVersion}.4.0"; disableBootstrap = !stdenv.hostPlatform.isDarwin; inherit (stdenv) buildPlatform hostPlatform targetPlatform; @@ -58,7 +58,6 @@ let majorVersion = "11"; patches = [ # Fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80431 ../fix-bug-80431.patch - ./fix-struct-redefinition-on-glibc-2.36.patch ] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch ++ optional noSysDirs ../no-sys-dirs.patch ++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch @@ -74,9 +73,9 @@ let majorVersion = "11"; ++ optionals stdenv.isDarwin [ (fetchpatch { # There are no upstream release tags in https://github.com/iains/gcc-11-branch. - # 2d280e7 is the commit from https://github.com/gcc-mirror/gcc/releases/tag/releases%2Fgcc-11.3.0 - url = "https://github.com/iains/gcc-11-branch/compare/2d280e7eafc086e9df85f50ed1a6526d6a3a204d..gcc-11.3-darwin-r2.diff"; - sha256 = "sha256-LFAXUEoYD7YeCG8V9mWanygyQOI7U5OhCRIKOVCCDAg="; + # ff4bf32 is the commit from https://github.com/gcc-mirror/gcc/releases/tag/releases%2Fgcc-11.4.0 + url = "https://github.com/iains/gcc-11-branch/compare/ff4bf326d03e750a8d4905ea49425fe7d15a04b8..gcc-11.4-darwin-r0.diff"; + hash = "sha256-6prPgR2eGVJs7vKd6iM1eZsEPCD1ShzLns2Z+29vlt4="; }) ] # https://github.com/osx-cross/homebrew-avr/issues/280#issuecomment-1272381808 @@ -166,7 +165,7 @@ lib.pipe (stdenv.mkDerivation ({ src = fetchurl { url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz"; - sha256 = "sha256-tHzygYaR9bHiHfK7OMeV+sLPvWQO3i0KXhyJ4zijrDk="; + hash = "sha256-Py2yIrAH6KSiPNW6VnJu8I6LHx6yBV7nLBQCzqc6jdk="; }; inherit patches; |