| 26 Jun 2026 |
emily | is pkgs/development/compilers/gcc/patches/15/fixup-gcc-15-darwin-aarch64-support.patch there because iains' branch hasn't been updated yet? | 07:28:10 |
Grimmauld (any/all) | on the other one it broke due to disallowed requisites check | 07:28:11 |
emily | https://github.com/iains/gcc-15-branch/commits/gcc-15-3-darwin | 07:28:23 |
Myria | I had a little local branch to bring the changes for gcc16, but there was a few problems I got stuck on. It also doesn't have the darwin patches right now | 07:28:59 |
Myria | Would be cool to get it | 07:29:06 |
emily | ok, https://github.com/Homebrew/homebrew-core/blob/main/Patches/gcc/gcc-15.3.0.diff | 07:29:12 |
emily | I'll fold that into my update Darwin patches PR | 07:29:26 |
Grimmauld (any/all) | this will take a bit | 07:29:49 |
Grimmauld (any/all) |  Download image.png | 07:29:50 |
Myria | StdenvNoCC builds on the non-rebased version. I'll rebase and check again. | 07:30:32 |
Grimmauld (any/all) | on aarch64-linux? | 07:31:18 |
Grimmauld (any/all) | the broken PR worked fine on x86_64 but broke on aarch64 | 07:31:30 |
emily | I've pushed the updated upstream iains patch to https://github.com/NixOS/nixpkgs/pull/519065 | 07:31:36 |
emily | so hopefully we won't need the fixup-gcc-15-darwin-aarch64-support.patch | 07:31:58 |
emily | btw if you care about GNAT on Darwin you might want to try building it on that branch :) | 07:32:25 |
emily | I am pretty sure the patches should no longer matter at all but good to double-check | 07:32:56 |
emily | the problem is that it was rebased from a years-old branch but not updated for all the changes in GCC since then | 07:34:01 |
emily | so it has been behind the GCC packaging we use since it landed | 07:34:13 |
emily | and AIUI it also has no working Linux stdenv bootstrap story | 07:34:50 |
emily | so if we were to switch to it, it would need someone to go through years of GCC changes or compare it to the current GCC packaging with a fine-toothed comb and also write a stdenv bootstrap | 07:35:17 |
emily | and I don't think there's been progress on that since it was merged a year ago, so I am worried it is just going to bitrot | 07:35:56 |
emily | hm, I guess I should add the Darwin patches for GCC 16 to the main gcc while I'm at it :) | 07:36:43 |
emily | Myria: also, wait, are you saying stdenv builds but stdenvNoCC fails?! | 07:40:33 |
Myria | Hmmm, stdenvNoCC succeeded before I rebased, now it fails | 07:44:17 |
Myria | Will need to investigate more later. My thoughts are it's a problem with the provided bootstrap-tools? But idk | 07:45:54 |
Myria | Will take a look, thanks for all that! | 07:46:13 |
Grimmauld (any/all) | disallowed requisites on gcc can do that | 07:46:26 |
Myria | I updated them in my rebase so it properly builds, avoiding my janky fix | 07:47:15 |
emily | oh, I meant on Darwin | 07:47:17 |
emily | but I guess that's a separate issue | 07:47:20 |