!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
12 Nov 2025
@dramforever:matrix.orgdramforeveri cba to check rn but you can dig around to see if all the non-PIEs have 0xf00006:34:20
@rosscomputerguy:matrix.orgTristan RossSo the fix would be to disable PIE on RISC-V? Or actually fix whatever the hell is going on?06:34:22
@rosscomputerguy:matrix.orgTristan RossI already did, they do...06:34:39
@dramforever:matrix.orgdramforeveryeah so only PIEs will work lmao06:34:56
@dramforever:matrix.orgdramforeveror you set vm.mmap_min_addr and ignore this problem06:35:05
@rosscomputerguy:matrix.orgTristan RossGreat...06:35:18
@dramforever:matrix.orgdramforever it's set in the kernel in CONFIG_DEFAULT_MMAP_MIN_ADDR 06:35:57
@dramforever:matrix.orgdramforever so presumably ubuntu is doing something to their binutils to match 06:36:06
@rosscomputerguy:matrix.orgTristan RossOh neat06:36:17
@dramforever:matrix.orgdramforeveror maybe they just all have full on PIEs06:36:28
@rosscomputerguy:matrix.orgTristan Ross I checked gcc -V and they do have default PIE set 06:36:43
@dramforever:matrix.orgdramforever you can try to check a -no-pie thing on ubuntu and see if the base address is different06:36:48
@dramforever:matrix.orgdramforeverhow has nobody ever noticed this problem06:37:22
@rosscomputerguy:matrix.orgTristan RossI don't really feel like checking lol. I'm glad to have a solution right now lol. My head hurts after working on this for 3 days.06:37:28
@dramforever:matrix.orgdramforeverare you the first person to every try to use nixpkgs on ubuntu on riscv6406:37:39
@rosscomputerguy:matrix.orgTristan RossBecause not many people use RISC-V I assume lol06:37:46
@dramforever:matrix.orgdramforever* are you the first person to ever try to use nixpkgs on ubuntu on riscv6406:37:47
@rosscomputerguy:matrix.orgTristan RossProbably lol06:37:52
@dramforever:matrix.orgdramforeverclearly this isn't a problem on the nixos kernel06:38:06
@rosscomputerguy:matrix.orgTristan Ross Oh good, the vendor kernel does not set CONFIG_DEFAULT_MMAP_MIN_ADDR 06:38:59
@rosscomputerguy:matrix.orgTristan RossWell, time to let it build down to the stdenv06:40:30
@rosscomputerguy:matrix.orgTristan RossI wonder how fast this'll build06:42:09
@rosscomputerguy:matrix.orgTristan RossDang, so much faster than the VisionFive 2 lol06:45:04
@dramforever:matrix.orgdramforevereic7702x should have much better io and memory bw in addition to faster cores06:48:41
@dramforever:matrix.orgdramforeverand twice as many cores06:48:46
@dramforever:matrix.orgdramforeverwell it's literally just better at all regards except price06:49:00
@rosscomputerguy:matrix.orgTristan RossYeah lol, I can at least use GNOME on it and it's not lagging06:49:51
@rosscomputerguy:matrix.orgTristan RossI was able to play SuperTuxCart just fine06:50:03
@dramforever:matrix.orgdramforevercurrently twiddling thumbs waiting for zhihe a210 and spacemit k306:52:56
@rosscomputerguy:matrix.orgTristan RossNice, I wonder what has the most performance in the consumer space06:54:08

Show newer messages


Back to Room ListRoom Version: 10