| 26 Feb 2026 |
Alyssa Ross | I don't think it would be difficult. | 11:40:17 |
szlend | I got a build running by applying a diff between 25.11/unstable for paths llvm/22, llvm/common and the llvm stuff in all-packages.nix. Hopefully that passes | 16:51:50 |
szlend | Say I get this build passing. To make an acceptable PR I assume you'd want me to look up and backport all the individual llvm-22 and llvm-common commits from unstable right? | 16:55:11 |
szlend | Though some changes in llvm/common are not directly related to llvm-22 | 16:56:17 |
szlend | bleh, one llvm test failed (TestExecuteEmptyEnvironment, missing libLLVM.dylib) | 21:15:32 |
Tristan Ross | There's a fix for that on staging | 21:24:37 |
Tristan Ross | The PR which fixes it is linked in the LLVM 22 PR | 21:24:49 |
szlend | ah great | 21:25:08 |
problems | okay so is it possible to build gcc13Stdenv without a dependency on gcc15? | 23:42:41 |
problems | it still tries to build libcMinimal with gcc15 apparently | 23:43:21 |
| 27 Feb 2026 |
Tristan Ross | Huh what, what are you trying to accomplish? | 00:01:43 |
problems | netbsd stdenv is broken on gcc14 and newer | 00:02:07 |
Tristan Ross | Oh, so that's what libcMinimal is. I didn't know this was a NetBSD thing. I've never worked on NetBSD but if you post the error, I or others may be able to help | 00:03:27 |
problems | i did post it | 00:03:45 |
problems | if you scroll up | 00:03:55 |
problems | according to my wife netbsd usually uses its own fork of gcc | 00:05:32 |
Tristan Ross | Oh huh, yeah I had to scroll up a decent amount. That looks like libcMinimal will need a patch to fix things. | 00:05:38 |
problems | i don't really want to patch it for newer gcc. i'd rather build with older gcc. | 00:06:05 |
Tristan Ross | GCC 13 works? You might have to change the netbsd bootstrap stages and bootstrap tools if it does support native. I'm not that familiar with the BSD's. | 00:07:27 |
problems | it used to work until nixpkgs updated to gcc 14 | 00:07:47 |
problems | idk anything about bootstrap is there a single place i can change to bootstrap a different gcc? | 00:10:22 |
problems | preferably with overrides not tinkering inside nixpkgs source | 00:12:17 |
Tristan Ross | pkgs/stdenv is where the bootstrap takes place | 00:13:58 |
Tristan Ross | I know there's a freebsd directory but I don't see one for netbsd | 00:14:16 |
problems | hm. i know netbsd has stuff in pkgs/os-specific/bsd/netbsd | 00:14:40 |
Tristan Ross | Yeah, that would be the netbsd specific packages, similar to the darwin attribute set | 00:15:04 |
problems | it contains libcMinimal | 00:15:18 |
Tristan Ross | Yeah, it should be in that directory | 00:16:11 |
Tristan Ross | The problem is bootstrapping usually requires overriding and slicing things in particular ways | 00:16:26 |
Tristan Ross | Hence why pkgs/stdenv/ exists | 00:16:36 |