| 30 Jun 2026 |
ElvishJerricco | wild | 15:20:34 |
ElvishJerricco | So I guess that means it's different for the other install-like commands | 15:21:47 |
ElvishJerricco | which I think don't matter? | 15:22:04 |
ElvishJerricco | K900: You wanna try to make the change? I doubt I'll have time today | 15:23:47 |
K900 | No | 15:23:56 |
K900 | Migraine | 15:23:58 |
| spermoedik joined the room. | 15:24:09 |
ElvishJerricco | fair. I'll forward the info to https://matrix.to/#/!SsuQHVzf59iBgk6YIm:0upti.me?via=nixos.org&via=matrix.org&via=tchncs.de in case anyone else wants to give it a try | 15:25:42 |
K900 | Paperless bisect is on hold | 16:27:24 |
K900 | Due to Plasma 6.7.2 | 16:27:31 |
K900 | https://blog.rust-lang.org/2026/06/30/Rust-1.96.1/ | 16:39:15 |
K900 | Miscompilation | 16:39:18 |
K900 | Spoopy | 16:39:20 |
debtquity | were there any changes to c compiler version recently? | 17:05:58 |
debtquity | i observe issue with cmakeFlags not propagating to cmake/ninja build | 17:06:59 |
K900 | Which flags? | 17:08:45 |
debtquity | I am running into strange issue with cmakeFlags not propagating to cmake configurePhase
rocksdb> cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/doc/rocksdb -DCMAKE_INSTALL_INFODIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocks
https://github.com/debtquity/nixpkgs-review-gha/actions/runs/28461253865/job/84349445690#step:6:5588
but this is missing all of the flags defined in cmakeFlags:
https://github.com/NixOS/nixpkgs/pull/537105/changes#diff-f169fc685573d8eaee885af02b69ba1a718da48f3a9ae1ee4bb64ca67cadef28R62-R82
I looked back at a hydra build for same package, but those flags are there: https://hydra.nixos.org/build/328605767/nixlog/1
only diff i can see is:
-- The CXX compiler identification is Clang 21.1.8 -- The C compiler identification is Clang 21.1.8
vs
-- The CXX compiler identification is GNU 15.2.0 -- The C compiler identification is GNU 15.2.0
| 17:09:29 |
debtquity | K900: all of them, it seems | 17:09:42 |
K900 | What does "propagating" even mean here | 17:10:44 |
debtquity | "-DWITH_GFLAGS=0" doesn't show up in configurePhase | 17:12:16 |
debtquity | (but really it's all of them | 17:12:29 |
K900 | What does "doesn't show up in configurePhase" even mean | 17:12:44 |
debtquity | rocksdb> cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/doc/rocksdb -DCMAKE_INSTALL_INFODIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1/lib -DCMAKE_STRIP=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/ranlib -DCMAKE_AR=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/sl8939n8g5b2wdm508a7zzlmg4jawrj5-rocksdb-10.10.1
| 17:13:29 |
Lach | rustc packaged at staging-next expects llvm to be built with this fix: https://github.com/rust-lang/llvm-project/commit/94e2c19f86a699d7a19ff0f4130b696699189c8d It is included in official release of rustc 1.96, but is missing from nixpkgs rustc 1.96 as it is using system llvm without this fix
Simple reproducer I found is:
use std::arch::x86_64::{_mm512_dpbusd_epi32,__m512i};
#[target_feature(enable = "avx512vnni")]
pub unsafe fn dp(a:__m512i,b:__m512i,c:__m512i)->__m512i{_mm512_dpbusd_epi32(a, b, c)}
You can build this code on godbolt's rustc 1.96/with oxalica's rust-overlay, but nixpkgs rustc fails to build it with "rustc-LLVM ERROR: Cannot select: intrinsic %llvm.x86.avx512.vpdpbusd.512" error
| 17:25:39 |
K900 | Do we care about AVX512 | 17:26:13 |
Lach | It breaks packages which use runtime feature selection for it | 17:26:40 |
K900 | Ugh | 17:26:45 |
K900 | But we don't want to eat an LLVM rebuild for this probably | 17:26:53 |
K900 | But we might want to eat a rustc rebuild for the 1.96.1 miscompilation | 17:27:11 |
Lach | E.g postgresqlPackages.vectorchord | 17:27:18 |