!UNVBThoJtlIiVwiDjU:nixos.org

Staging

360 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen116 Servers

Load older messages


SenderMessageTime
15 Mar 2026
@dramforever:matrix.orgdramforeveractually i have no idea why it seems to work in both gcc and clang06:05:01
@vcunat:matrix.orgVladimír ČunátWhat do you mean?06:07:01
@vcunat:matrix.orgVladimír Čunátclang implements basically all "gnu extensions"06:07:23
@vcunat:matrix.orgVladimír ČunátIIRC they're very compatible with gcc.06:07:38
@vcunat:matrix.orgVladimír ČunátAnyway, the best workaround is to disable this particular hardening in the chromium build?06:09:48
@dramforever:matrix.orgdramforeversorry i meant it doesn't seem to be documented anywhere for gcc the FAM is accepted in c++06:10:49
@dramforever:matrix.orgdramforever* sorry i meant it doesn't seem to be documented anywhere for gcc that FAM is accepted in c++06:10:53
@dramforever:matrix.orgdramforeveralso yes i think we just disable that for chromium06:11:05
@dramforever:matrix.orgdramforeverScreenshot_20260315_141012.png
Download Screenshot_20260315_141012.png
06:11:15
@dramforever:matrix.orgdramforeveri know this is windows but chromium is definitely not -fsfa clean06:11:26
@vcunat:matrix.orgVladimír Čunát[1] should be fine06:11:27
@vcunat:matrix.orgVladimír Čunát * [1] should be fine 06:11:34
@dramforever:matrix.orgdramforeveroh wait06:11:35
@dramforever:matrix.orgdramforevergood point06:11:36
@vcunat:matrix.orgVladimír Čunát For strictflexarrays1 which is the default now. 06:11:48
@vcunat:matrix.orgVladimír Čunát And [1] is surely fine without any C++ extensions. 06:12:12
@dramforever:matrix.orgdramforeverthat is a good point but i don't want to audit the entire chromium source code to see if that 8 really was the only place it explodes06:12:15
@dramforever:matrix.orgdramforever * that is a good point but i don't want to audit the entire chromium source code to see if that single char[sizeof(uint64_t)] really was the only place it explodes 06:12:30
@dramforever:matrix.orgdramforeverbecause the symptom is "oops spurious out of bounds, guess i'm gonna die" when it's used06:12:53
@vcunat:matrix.orgVladimír Čunát Yes, It would be nice to have evidence that strictflexarrays1 already is used in some larger distro-like setup. 06:13:20
@emilazy:matrix.orgemily I mean we can just hardeningDisable Chromium 06:16:38
@emilazy:matrix.orgemily so -fstrict-flex-arrays=1 allows [] but also [0] and [1] 06:18:45
@emilazy:matrix.orgemilyit's just the alignment hack here that's messing it up06:18:50
@emilazy:matrix.orgemilyeh I guess I'm just repeating06:19:07
@dramforever:matrix.orgdramforeverfor now, but maybe there will be more breakages06:19:09
@dramforever:matrix.orgdramforeveryeah i think we agree now06:19:29
@emilazy:matrix.orgemilyit would be nice for chromium to not be doing wrong things though06:19:52
@dramforever:matrix.orgdramforeverwithout relying on gnu extensions it gets ugly06:21:20
@dramforever:matrix.orgdramforeverdon't know if they want to06:21:31
@dramforever:matrix.orgdramforever * don't know if they want to just use char name[]; in c++ 06:21:51

Show newer messages


Back to Room ListRoom Version: 6