| 23 Feb 2026 |
| Tomáš Mark joined the room. | 09:39:52 |
| 24 Feb 2026 |
| Ren joined the room. | 10:36:58 |
| Ren changed their display name from rend0e_ to Ren. | 12:56:39 |
| 25 Feb 2026 |
problems | trying to build this expression:
with import <nixpkgs> {
config.allowUnsupportedSystem = true;
crossSystem = {
system = "i486-netbsd";
rustc.config = "i486-unknown-netbsd";
rustc.platform = {
arch = "x86";
cpu = "i486";
data-layout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128";
dwarf-version = 2;
dynamic-linking = true;
executables = true;
has-rpath = true;
is-builtin = true;
llvm-target = "i486-unknown-netbsdelf";
max-atomic-width = 64;
no-default-libraries = false;
os = "netbsd";
position-independent-executables = true;
pre-link-args = {
gcc = [
"-m32"
];
};
relro-level = "full";
stack-probes = {
kind = "call";
};
target-family = [
"unix"
];
target-mcount = "__mcount";
target-pointer-width = "32";
use-ctors-section = true;
};
};
};
matrix-continuwuity
errors out with this:
libcMinimal-netbsd> i486-unknown-netbsdelf-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -fPIE -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc -I/build/libcMinimal-netbsd-netbsd-filtered-src/sys -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/../locale -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/stdlib -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/quad -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/string -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/arch/i386/string -D__DBINTERFACE_PRIVATE -I/build/libcMinimal-netbsd-netbsd-filtered-src/libexec/ld.elf_so -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/dlfcn -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/gdtoa -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/locale -DHonor_FLT_ROUNDS -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -c -D_I18N_DYNAMIC -fPIC nslexer.c -o nslexer.pico
libcMinimal-netbsd> --- nslexer.o ---
libcMinimal-netbsd> In file included from /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:38:
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l: In function '_nsyylex':
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include/namespace.h:674:33: error: implicit declaration of function '_strdup'; did you mean 'strdup'? [-Wimplicit-function-declaration]
libcMinimal-netbsd> 674 | #define strdup _strdup
libcMinimal-netbsd> | ^~~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:34: note: in expansion of macro 'strdup'
libcMinimal-netbsd> 78 | if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd> | ^~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:32: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
libcMinimal-netbsd> 78 | if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd> | ^
libcMinimal-netbsd> --- yplib.pico ---
libcMinimal-netbsd> i486-unknown-netbsdelf-objcopy -x yplib.pico
libcMinimal-netbsd> --- nslexer.o ---
libcMinimal-netbsd> *** [nslexer.o] Error code 1
libcMinimal-netbsd>
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
libcMinimal-netbsd> --- nslexer.pico ---
libcMinimal-netbsd> In file included from /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:38:
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l: In function '_nsyylex':
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include/namespace.h:674:33: error: implicit declaration of function '_strdup'; did you mean 'strdup'? [-Wimplicit-function-declaration]
libcMinimal-netbsd> 674 | #define strdup _strdup
libcMinimal-netbsd> | ^~~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:34: note: in expansion of macro 'strdup'
libcMinimal-netbsd> 78 | if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd> | ^~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:32: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
libcMinimal-netbsd> 78 | if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd> | ^
libcMinimal-netbsd> *** [nslexer.pico] Error code 1
libcMinimal-netbsd>
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
libcMinimal-netbsd> 2 errors
libcMinimal-netbsd>
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
| 20:20:32 |
problems | i know i had this crossSystem toolchain working in 2022 so something changed since then i guess? | 20:21:01 |
nim65s | maybe these are just issues from a newer gcc ? | 20:23:40 |
| nim65s changed their display name from Guilhem to nim65s. | 20:23:45 |
problems | it's not even building rust at this point so i guess a minimal repro would just be trying to build for system = "i486-netbsd" | 20:24:00 |
problems | it's not even building rust at this point so i guess a minimal repro would just be trying to build gcc for system = "i486-netbsd" | 20:24:15 |
| 26 Feb 2026 |
problems | bisecting nixpkgs now ig | 01:16:06 |
Lun | I'd guess GCC 13 or 14 bump with it being a Wint-conversion failure | 01:39:56 |
Lun | yeah 14 changed that https://gcc.gnu.org/gcc-14/porting_to.html#int-conversion | 01:44:54 |
problems | hm okay maybe just bumping the netbsd sources might work then? if i can find them | 01:57:29 |
problems | i incremented the version from 9.2 to 9.4, so here's hoping | 02:00:17 |
problems | nope ;~; | 03:09:33 |
problems | my netbsd wife is saying that netbsd is only supposed to be built with its own patched gcc so idk :l | 03:15:43 |
| @somasis:matrix.org left the room. | 04:25:06 |
szlend | Just wondering, are LLVM version additions usually backported to stable channels? I've seen LLVM 21 backported last time to 25.05, but 22 is missing in 25.11 this time | 11:33:31 |
K900 | Usually not unless they're necessary for something else | 11:33:51 |
Alyssa Ross | I would generally backport. It makes it easier to backport other LLVM unstable PRs. But indeed this time I think it didn't happen. Still could. | 11:34:37 |
szlend | I wonder how big of a lift that is. I guess it depends on how much the stdenv infra has changed in unstable? | 11:37:45 |
szlend | Rust has started to use LLVM 22 in nightly, so I imagine they're gonna upgrade soon. Which breaks some things like cross boundary lto. But don't think that actualy affects nixpkgs itself | 11:39:20 |
Alyssa Ross | I don't think it would be difficult. | 11:40:17 |
| 4 Aug 2022 |
| Winter (she/her) joined the room. | 03:27:09 |
| [0x4A6F] joined the room. | 22:08:01 |
| 6 Aug 2022 |
Winter (she/her) | Does anyone know where the fact that the Darwin stdenv builds CMake twice comes from? As far as I can tell, it's from stage 0, and then just gets used in the other stages from there. Am I missing something here, is it something with the overrides? It looks like it might be, but then the fact that those are only allowed in the final stage (per booter.nix) (when that doesn't seem true, since then they wouldn't be defined...?) comes up.
(Isn't this the same pattern (defining in one stage and referencing in the others) that makes Glibc only build a limited number of times in the Linux stdenv?) | 08:00:17 |
trofi | You think cmake should be rebuild less? Or more?
glibc's is probably a bit different as it's a part of stdenv.cc.libc and mainly used by that I would guess. Also, if depends if the package is used or not by other packages in the derivation would affect rebuild count as well.
| 14:59:09 |
trofi | Looking at stdenv's dep tree I see 2 cmake-boot hashes and one cmake hash: https://dpaste.com/8GGM6P9BF.txt | 15:03:11 |
Winter (she/her) | In reply to @trofi:matrix.org
You think cmake should be rebuild less? Or more?
glibc's is probably a bit different as it's a part of stdenv.cc.libc and mainly used by that I would guess. Also, if depends if the package is used or not by other packages in the derivation would affect rebuild count as well.
I have no particular opinion, I'm just curious how that happens. | 21:22:09 |
Winter (she/her) | Oh, for clarification, I was talking about cmake-boot. | 21:22:19 |