!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

222 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v64 Servers

Load older messages


SenderMessageTime
29 Mar 2026
@faukah:faukah.comfaukah left the room.18:11:58
@colemickens:matrix.orgcolemickensI have no idea what I was doing last night. I rebooted my builders and went back to a newer nixos-unstable and now thing seem to be building mostly fine. Really bizarre, but I was up late, maybe I was more tired than I thought.18:44:16
@alex:tunstall.xyzAlex

I've been stuck for a few days on a problem with linking clangd-fuzzer getting OoM killed right at the end of buildPhase 18 hours into the clang build. Even -j1 isn't enough.
I tried useMoldLinker, but that's broken right now (due to something not putting NIX_CFLAGS_LINK under env?).
Then I tried updating the system again, but now useMoldLinker causes eval to overflow the stack.

Has anyone found a reasonable solution to building clang (LLVM 20 and 21) without needing ludicrous amounts of memory?
If push comes to shove I could perhaps suffer a larger swap file...

18:51:51
@alex:tunstall.xyzAlex

For reference:

[nixos@nixos:~/system]$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7.7Gi       6.0Gi       105Mi          0B       1.6Gi       1.5Gi
Swap:           15Gi       152Mi        15Gi

(There is high memory usage right now because it's in the middle of retrying clang.)

18:53:30

There are no newer messages yet.


Back to Room ListRoom Version: 10