!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

197 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-v58 Servers

Load older messages


SenderMessageTime
23 Nov 2025
@rosscomputerguy:matrix.orgTristan RossSo mmap wouldn't EPERM?20:34:31
@dramforever:matrix.orgdramforeverthat can't be the general solution though20:37:05
@dramforever:matrix.orgdramforeverbecause random stuff just doesn't work built as PIE20:37:14
@dramforever:matrix.orgdramforeverlast time i checked this list includes gcc itself i think20:37:37
@rosscomputerguy:matrix.orgTristan RossOh, so how would GCC get fixed so it doesn't EPERM?20:38:05
@dramforever:matrix.orgdramforeveri have no idea why ubuntu doesn't have this problem20:53:02
@dramforever:matrix.orgdramforeveris their gcc a pie?20:53:07
@rosscomputerguy:matrix.orgTristan RossIdk20:54:12
@dramforever:matrix.orgdramforeverwhy is ubuntu not just a big monorepo that i can search anything i want in 🫠21:06:45
@rosscomputerguy:matrix.orgTristan Rosslol21:09:44
@dramforever:matrix.orgdramforevereh nevermind i think we build gcc as pie now21:12:19
@kwinz:matrix.orgkwinz https://cache.ztier.in riscv binary cache is only for unstable, correct?
is there a binary cache for stable?
22:01:05
@rosscomputerguy:matrix.orgTristan RossI've only known a few exist but idk the reliability22:16:02
@rosscomputerguy:matrix.orgTristan RossOr the state of them22:16:11
@rosscomputerguy:matrix.orgTristan RossThough, as a member of the HW team, we have been looking into things but it'll be some time before we can give any good news.22:16:48
@kwinz:matrix.orgkwinzwe can only dream of some official support :-)22:17:16
@rosscomputerguy:matrix.orgTristan RossI really do want us to be able to do that22:18:30
@rosscomputerguy:matrix.orgTristan RossHowever, I see Arm having a higher tier support first before RISC-V22:18:42
@rosscomputerguy:matrix.orgTristan RossThe problem is the HW is just now starting to get better performance. Like the ESWIN EIC7700X is significantly better than the JH7110 but still quite lacking.22:19:26
@kwinz:matrix.orgkwinz

sorry for the beginner questionL to summarize i have those options right now to do a nixos-rebuild:

  1. build 25.05 or staging myself which takes probably 3 days to finish
  2. cross compile staging or 25.05
  3. wait until the PIE fix for go from staging is merged into unstable and ztier starts caching it.
22:19:34
@kwinz:matrix.orgkwinz *

sorry for the beginner question: to summarize i have those options right now to do a nixos-rebuild:

  1. build 25.05 or staging myself which takes probably 3 days to finish
  2. cross compile staging or 25.05
  3. wait until the PIE fix for go from staging is merged into unstable and ztier starts caching it.
22:19:45
@rosscomputerguy:matrix.orgTristan RossI think 2 is the safest option you have22:19:55
@rosscomputerguy:matrix.orgTristan RossI do not recommend native compilation unless you actually need it22:20:07
@kwinz:matrix.orgkwinzappreciate it!22:20:28
@kwinz:matrix.orgkwinzHiFive Premier P550 is probably twice as fast as the JH7110, but nothing ground breaking it seems22:22:32
@rosscomputerguy:matrix.orgTristan RossActually, the Sifive P550 cores are actually pretty good imo. It's nothing to scoff at. It's actually got some nice features like branch prediction and out of order execution.22:23:58
@rosscomputerguy:matrix.orgTristan RossIt's just when you compare it to non RISC-V cores, it's not as exciting in terms of performance.22:24:29
24 Nov 2025
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I think 2 is the safest option you have
Depends on what you have installed.
For a bare system, it works fine, but various random things just don't work in cross.
00:55:17
@rosscomputerguy:matrix.orgTristan RossThat is true, but I've also ran into various things being broken natively00:56:04
@dramforever:matrix.orgdramforever
In reply to @dramforever:matrix.org
it will be fixed when this lands https://github.com/NixOS/nixpkgs/pull/458867
landed
04:35:35

Show newer messages


Back to Room ListRoom Version: 10