!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

212 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-v63 Servers

Load older messages


SenderMessageTime
23 Nov 2025
@rosscomputerguy:matrix.orgTristan Rossmmap return EPERM20:31:49
@dramforever:matrix.orgdramforeverbecause it's not a pie20:31:50
@dramforever:matrix.orgdramforeverthat's why it fails20:31:54
@rosscomputerguy:matrix.orgTristan RossWhat?20:32:00
@dramforever:matrix.orgdramforever it fails because it's not position independent 20:32:06
@rosscomputerguy:matrix.orgTristan RossI thought you just said it's not a PIE problem20:32:06
@dramforever:matrix.orgdramforeverit's a problem because it's a PDE20:32:24
@rosscomputerguy:matrix.orgTristan RossYes, so it's the problem I was explaining. The executable should be a PIE but the kernel thinks its not.20:32:49
@dramforever:matrix.orgdramforeverthe executable has no signs of being a PIE20:33:04
@dramforever:matrix.orgdramforeverit has type ET_EXEC, first segment doesn't start at address 020:33:41
@rosscomputerguy:matrix.orgTristan RossYeah20:33:56
@rosscomputerguy:matrix.orgTristan RossAnd the good binaries have a different address for the PHDR20:34:08
@dramforever:matrix.orgdramforeverso why "should" it be a PIE?20:34:10
@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

Show newer messages


Back to Room ListRoom Version: 10