!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

196 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
@rosscomputerguy:matrix.orgTristan Ross I set sudo sysctl -w vm.mmap_min_addr=4096 and GCC works 06:18:15
@dramforever:matrix.orgdramforeverthe other thing is it may be relevant to us enabling PIE recently06:18:41
@dramforever:matrix.orgdramforeverish06:18:45
@dramforever:matrix.orgdramforeverrecent-ish06:18:49
@dramforever:matrix.orgdramforeveri'm starting to think maybe you shouldn't be on 6.606:19:14
@rosscomputerguy:matrix.orgTristan RossThe bootstrap-tools GCC is from last year, I thought PIE was within the last couple months06:19:14
@dramforever:matrix.orgdramforever although it really also shouldn't be breaking 06:19:35
@joerg:thalheim.ioMic92Check if the binary is supposes to be relocatable with checkseck06:19:44
@rosscomputerguy:matrix.orgTristan RossI shouldn't be but Ubuntu is all that's available until my USB flash drive comes tomorrow and I finish porting NixOS06:19:50
@joerg:thalheim.ioMic92* Check if the binary is supposed to be relocatable with checkseck06:20:02
@rosscomputerguy:matrix.orgTristan RossAlso, the vendor kernel for this system is only 6.606:20:36
@dramforever:matrix.orgdramforeverokay just give me a run down on what works and what doesn't06:20:57
@dramforever:matrix.orgdramforeverfrom the start06:21:01
@rosscomputerguy:matrix.orgTristan RossEntire coreutils, gawk (if I update bootstrap-tools), patchelf (if I update bootstrap-tools), sed (if I update bootstrap-tools).06:21:39
@rosscomputerguy:matrix.orgTristan Rossobjdump works, nm works, ld works06:22:53
@rosscomputerguy:matrix.orgTristan Rossgcc is broken (unless I set the vm min addr)06:23:04
@rosscomputerguy:matrix.orgTristan Ross(gcc includes g++ but as and ar are fine)06:23:23
@dramforever:matrix.orgdramforeverdoes gawk work if you don't update bootstrap tools06:23:32
@dramforever:matrix.orgdramforeverbut set vm min addr06:23:37
@rosscomputerguy:matrix.orgTristan RossYes06:23:51
@dramforever:matrix.orgdramforeverthanks spaghetti monster06:25:46
@rosscomputerguy:matrix.orgTristan Rosslol06:25:57
@dramforever:matrix.orgdramforeveranyway the fine folks at ubuntu decided to set vm.mmap_min_addr too high for our non-pie executables06:26:08
@dramforever:matrix.orgdramforeveror something06:26:14
@rosscomputerguy:matrix.orgTristan RossOh fun06:26:18
@dramforever:matrix.orgdramforeverwhat was it at before06:26:29
@rosscomputerguy:matrix.orgTristan Ross6553606:26:45
@dramforever:matrix.orgdramforeverokay that's still kinda sus06:27:35
@dramforever:matrix.orgdramforever give me a readelf -h on this file 06:28:29
@dramforever:matrix.orgdramforeverthe one with virtaddr f00006:28:36

Show newer messages


Back to Room ListRoom Version: 10