!UNVBThoJtlIiVwiDjU:nixos.org

Staging

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

Load older messages


SenderMessageTime
22 Sep 2025
@emilazy:matrix.orgemilycross, perchance?19:54:59
@emilazy:matrix.orgemily or strictDeps? 19:55:02
@emilazy:matrix.orgemilyanyway it's probably https://github.com/mesonbuild/meson/commit/8b3c6c9fb4b27c1a5635d2b498275ed2eb326a8f19:55:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no, native build19:55:10
@emilazy:matrix.orgemilyran into this today19:55:17
@emilazy:matrix.orgemily Alyssa Ross: (I'll ask you to backport ^ on the bump, so might want to do it now) 19:55:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/blob/8eaee110344796db060382e15d3af0a9fc396e0e/pkgs/development/tools/language-servers/nixd/default.nix#L43 strict deps yes19:55:55
@emilazy:matrix.orgemilyyes, so it's "LLVM 21" but actually it's Meson. very annoying19:56:15
@qyliss:fairydust.spaceAlyssa Ross
In reply to @emilazy:matrix.org
Alyssa Ross: (I'll ask you to backport ^ on the bump, so might want to do it now)
Too late, bedtime
19:56:21
@emilazy:matrix.orgemily adding llvm to nativeBuildInputs will make it fall back to llvm-config 19:56:32
@emilazy:matrix.orgemily or turning off strictDeps of course 19:56:38
@emilazy:matrix.orgemily since technically you want that llvm-config 19:56:39
@emilazy:matrix.orgemilywe should fix it in Meson though19:56:46
@emilazy:matrix.orgemilybut too late for this cycle19:56:48
@lt1379:matrix.orgLun

Problem: electron/chromium seem to be broken
Pinning an earlier LLVM builds for me but it looks like rust having a newer LLVM risks incompatible bitcode errors so isn't a correct fix

  • earlier patch ensuring chromium always uses same LLVM version as rust https://github.com/NixOS/nixpkgs/commit/a71762621bb17c2c19a31fa50926c78007907d76
  • patch to pin to 20 that's probably wrong and logs of the failure https://gist.github.com/LunNova/219767a842bdbda4e43d3766db199d4d
20:45:14
@lt1379:matrix.orgLun *

Problem: electron/chromium seem to be broken in staging-next
Pinning an earlier LLVM builds for me but it looks like rust having a newer LLVM risks incompatible bitcode errors so isn't a correct fix

  • earlier patch ensuring chromium always uses same LLVM version as rust https://github.com/NixOS/nixpkgs/commit/a71762621bb17c2c19a31fa50926c78007907d76
  • patch to pin to 20 that's probably wrong and logs of the failure https://gist.github.com/LunNova/219767a842bdbda4e43d3766db199d4d
20:45:21
@emilazy:matrix.orgemilywe can probably backport a patch20:47:57
@emilazy:matrix.orgemily"chromium relies on these invalid enum values to represent histogram data" 🙃20:48:12
@lt1379:matrix.orgLun I think patching the enums used with the UMA_HISTOGRAM_ENUMERATION macro to have an underlying type makes it not UB but there are a lot of different enums used with UMA_HISTOGRAM_ENUMERATION. I failed to find a patch in the chromium repo so I may be missing something silly. 20:48:15
@lt1379:matrix.orgLun * I think patching the enums used with the UMA_HISTOGRAM_ENUMERATION macro to have a specific underlying numeric type makes it not UB but there are a lot of different enums used with UMA_HISTOGRAM_ENUMERATION. I failed to find a patch in the chromium repo so I may be missing something silly. 20:48:48
@emilazy:matrix.orgemilyno upstream report?20:50:23
@emilazy:matrix.orgemily cc emily 20:50:29
@emilazy:matrix.orgemilydidn't know Chromium was downstream of LLVM, gues we should be testing it along with Firefox20:50:44
@lt1379:matrix.orgLunhttps://chromium-review.googlesource.com/c/chromium/src/+/6633292/2/base/metrics/histogram_macros_internal.h yay!20:53:30
@lt1379:matrix.orgLunI was wrong about how hard it is to fix :phew:20:53:54
@emilazy:matrix.orgemilynice20:54:39
@emilazy:matrix.orgemilymy impression is that the browsers try new compiler versions early20:54:55
@hexa:lossy.networkhexacompiler updates are an obvious performance and security win, no?21:02:03
@emilazy:matrix.orgemilydepends, they do get better at exploiting UB 😅21:03:28
@lt1379:matrix.orgLuni misdiagnosed it and it was just using an invalid enum value to represent the number of possible values and let's be fair to them! it's only been UB since a 2014 wg meeting21:05:03

Show newer messages


Back to Room ListRoom Version: 6