!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

563 Members
120 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@k900:0upti.meK900 Mesa is already conditional on valgrind availability 03:23:39
@k900:0upti.meK900 If it's broken on whatever weird target you're into now, flag it as such 03:23:51
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)
In reply to @k900:0upti.me
If it's broken on whatever weird target you're into now, flag it as such
Llvm musl is what they are doing rn iirc, not that weird. Tbh I'd enjoy a gnuless system.
06:49:22
@qyliss:fairydust.spaceAlyssa RossI would like us to actually fix the underlying problems...07:00:23
@matthewcroughan:defenestrate.itmatthewcroughanWhat does postmarketOS do?12:19:11
@matthewcroughan:defenestrate.itmatthewcroughanThey have a fully working system with very impressive amounts of software running, and I doubt they are fixing these things upstream12:19:40
@matthewcroughan:defenestrate.itmatthewcroughan Instead I think we need to do both fire patches off upstream and add conditionals whilst we wait for them to get merged 12:20:09
@qyliss:fairydust.spaceAlyssa Rossso far the "fire patches off upstream" part seems lacking…12:20:27
@matthewcroughan:defenestrate.itmatthewcroughanI believe postmarketOS just applies patches and leaves it at that12:20:31
@qyliss:fairydust.spaceAlyssa Rosswhy is postmarketOS the point of comparison here?12:20:42
@matthewcroughan:defenestrate.itmatthewcroughanActually pmos is just alpine. What foes alpine fo?12:20:52
@matthewcroughan:defenestrate.itmatthewcroughan * 12:21:03
@qyliss:fairydust.spaceAlyssa Rossalpine submits a lot of patches upstream12:21:13
@matthewcroughan:defenestrate.itmatthewcroughanWhy does their entire package set work on musl?12:21:12
@qyliss:fairydust.spaceAlyssa Rossbecause they test it with musl12:21:22
@matthewcroughan:defenestrate.itmatthewcroughan * 12:21:30
@qyliss:fairydust.spaceAlyssa Ross remember lots of the stuff you are trying to fix does work with musl, but not with musl+llvm 12:21:38
@qyliss:fairydust.spaceAlyssa Rosswhich nobody has ever cared about until a month or two ago12:21:44
@qyliss:fairydust.spaceAlyssa Ross(in Nixpkgs)12:21:49
@qyliss:fairydust.spaceAlyssa Rossor it does work with musl, but doesn't work with cross compilation to musl, which again isn't something anybody has generally bothered to test12:22:19
@matthewcroughan:defenestrate.itmatthewcroughanOkay but in this case, do you think they're shipping mesa with valgrind?12:22:36
@qyliss:fairydust.spaceAlyssa Rosseasy to find out12:22:53
@matthewcroughan:defenestrate.itmatthewcroughanOur mesa is super heavy12:23:05
@qyliss:fairydust.spaceAlyssa Rossbut I suspect probably not because Alpine tries to be small12:23:07
@qyliss:fairydust.spaceAlyssa Rossand that means less optional dependencies enabled by default12:23:18
@matthewcroughan:defenestrate.itmatthewcroughanYes so I think there's a happy balance between conditionals and patches, and that not everything has to be an upstream patch12:23:47
@matthewcroughan:defenestrate.itmatthewcroughanlike in this case valgrind is pretty heavy and maybe not all platforms should include valgrind12:24:04
@qyliss:fairydust.spaceAlyssa Rossif there's a principled criteria for that, sure12:24:18
@qyliss:fairydust.spaceAlyssa Rossbut there's no fundamental reason we should include valgrind for GCC builds and not LLVM ones12:24:44
@matthewcroughan:defenestrate.itmatthewcroughan

Sure, my discovery has highlighted two things:

  1. An issue with valgrind that needs to be fixed upstream
  2. Maybe valgrind is really heavy and we don't need it in mesa for all platforms
12:25:44

Show newer messages


Back to Room ListRoom Version: 6