NixOS RISC-V | 240 Members | |
| NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux | 73 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Mar 2026 | ||
| colemickens good news:
I'm still double checking that the cross-compiler works, but I expect to PR the fix to Nixpkgs soon enough. | 21:35:58 | |
| This alone is not enough to cross-compile | 21:43:39 | |
| colemickens https://github.com/NixOS/nixpkgs/pull/501439 | 22:00:19 | |
| 20 Mar 2026 | ||
| 09:01:21 | ||
| 24 Mar 2026 | ||
| 04:05:49 | ||
| 28 Mar 2026 | ||
| I'm sort of a riscv noob, especially with regards to the ... revisions? Is TH1520 too old to use to build in nixpkgs? | 22:54:04 | |
| 29 Mar 2026 | ||
| That seems to be RV64GC (with an old(?) version of RVV?) so unless you're deliberately targeting a higher profile like RVA23, it should be OK. | 01:58:44 | |
| th1520 should be fine | 03:41:26 | |
| 18:11:58 | ||
| I 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 | |
| I've been stuck for a few days on a problem with linking Has anyone found a reasonable solution to building | 18:51:51 | |
| For reference:
(There is high memory usage right now because it's in the middle of retrying | 18:53:30 | |
| 30 Mar 2026 | ||
| I found an issue with nixpkgs configuration of gdb, which doesn't match upstream configuration. Specifically, gdb doesn't support in-process agent on risc-v: https://github.com/NixOS/nixpkgs/pull/504872 | 03:41:58 | |
| Try --cores 1 | 07:14:37 | |
| I had a build almost ending already, and this is what the RSS looked like just within 10s of the OoM kill:
So yeah I think | 10:16:04 | |
| I have figured out a way to get LLVM linked with mold to evaluate (I think?) so I think I'll try that first. | 10:17:01 | |
| https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-github/ | 16:21:14 | |
| When I was doing stuff with the VF2, I had to compile LLVM on 1 core. That took like 3 days to build. | 16:42:12 | |
In reply to @misuzu:matrix.orgThis sounds awesome! Hate that it's GitHub but maybe an initial build+cache could work I remember hearing someone was setting up a cache? | 18:16:55 | |
| 31 Mar 2026 | ||
Not even mold can handle it ( | 14:05:39 | |
| 1 Apr 2026 | ||
| 13:09:41 | ||
| 7 Apr 2026 | ||
| System rebuild is finally done. | 20:04:19 | |
| 8 Apr 2026 | ||
| 03:43:00 | ||
| 9 Apr 2026 | ||
| Alyssa Ross i think i asked you about this a while ago, but is there some way to make a `riscv64-unknown-elf` toolchain? | 14:43:10 | |
riscv64-none-elf might be functionally the same, but the thing i want to use wants specifically unknown-elf, and i dont if setup-hook fuckery means i can just make a bunch of symlinks | 14:44:14 | |
* Alyssa Ross i think i asked you about this a while ago, but is there some way to make a riscv64-unknown-elf gcc toolchain? | 14:45:38 | |
I've seen before x86_64-unknown-linux vs x86_64-pc-linux in Nixpkgs, though I don't know whether that has led to any tooling of the kind you seek. | 14:49:03 | |
| i know this isn't your fault but please for the love of fuck stop hard coding prefixes https://github.com/NixOS/nixpkgs/issues/145726#issuecomment-2799568568 https://github.com/rust-lang/pkg-config-rs/issues/53#issuecomment-3027915376 | 15:04:28 | |
| * i know this isn't your fault but please everyone for the love of fuck stop hard coding prefixes https://github.com/NixOS/nixpkgs/issues/145726#issuecomment-2799568568 https://github.com/rust-lang/pkg-config-rs/issues/53#issuecomment-3027915376 | 15:04:52 | |
just let me pass CROSS_COMPILE=riscv64-unknown-linux-gnu- or whatever it is | 15:05:04 | |