!UNVBThoJtlIiVwiDjU:nixos.org

Staging

400 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.11 | Review Reports: https://malob.github.io/nix-review-tools-reports/131 Servers

Load older messages


SenderMessageTime
30 Jun 2026
@elvishjerricco:matrix.orgElvishJerriccowild15:20:34
@elvishjerricco:matrix.orgElvishJerriccoSo I guess that means it's different for the other install-like commands15:21:47
@elvishjerricco:matrix.orgElvishJerriccowhich I think don't matter?15:22:04
@elvishjerricco:matrix.orgElvishJerricco K900: You wanna try to make the change? I doubt I'll have time today 15:23:47
@k900:0upti.meK900 No 15:23:56
@k900:0upti.meK900 Migraine 15:23:58
@merededdo:matrix.orgspermoedik joined the room.15:24:09
@elvishjerricco:matrix.orgElvishJerriccofair. 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 try15:25:42
@k900:0upti.meK900Paperless bisect is on hold16:27:24
@k900:0upti.meK900Due to Plasma 6.7.216:27:31
@k900:0upti.meK900https://blog.rust-lang.org/2026/06/30/Rust-1.96.1/16:39:15
@k900:0upti.meK900Miscompilation16:39:18
@k900:0upti.meK900Spoopy16:39:20
@debtquity:matrix.orgdebtquitywere there any changes to c compiler version recently?17:05:58
@debtquity:matrix.orgdebtquity i observe issue with cmakeFlags not propagating to cmake/ninja build 17:06:59
@k900:0upti.meK900Which flags?17:08:45
@debtquity:matrix.orgdebtquity

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:matrix.orgdebtquity K900: all of them, it seems 17:09:42
@k900:0upti.meK900 What does "propagating" even mean here 17:10:44
@debtquity:matrix.orgdebtquity "-DWITH_GFLAGS=0" doesn't show up in configurePhase 17:12:16
@debtquity:matrix.orgdebtquity(but really it's all of them17:12:29
@k900:0upti.meK900 What does "doesn't show up in configurePhase" even mean 17:12:44
@debtquity:matrix.orgdebtquity
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:delta.rocksLach

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:0upti.meK900Do we care about AVX51217:26:13
@lach:delta.rocksLachIt breaks packages which use runtime feature selection for it17:26:40
@k900:0upti.meK900Ugh17:26:45
@k900:0upti.meK900But we don't want to eat an LLVM rebuild for this probably17:26:53
@k900:0upti.meK900But we might want to eat a rustc rebuild for the 1.96.1 miscompilation17:27:11
@lach:delta.rocksLachE.g postgresqlPackages.vectorchord17:27:18

Show newer messages


Back to Room ListRoom Version: 6