!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

208 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-v62 Servers

Load older messages


SenderMessageTime
12 Nov 2025
@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
@rosscomputerguy:matrix.orgTristan Ross
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - GNU
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           RISC-V
  Version:                           0x1
  Entry point address:               0x2ca98
  Start of program headers:          64 (bytes into file)
  Start of section headers:          2203656 (bytes into file)
  Flags:                             0x5, RVC, double-float ABI
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         12
  Size of section headers:           64 (bytes)
  Number of section headers:         31
  Section header string table index: 30
06:29:25
@dramforever:matrix.orgdramforeverokay we're cooked06:29:31
@rosscomputerguy:matrix.orgTristan Rosslol06:29:39
@rosscomputerguy:matrix.orgTristan RossIs it because of the entry point addr?06:29:58
@dramforever:matrix.orgdramforeverno it's just it's not a PIE06:30:14
@dramforever:matrix.orgdramforeverand the address is 0xf00006:30:19
@rosscomputerguy:matrix.orgTristan RossOh06:30:21
@dramforever:matrix.orgdramforeverand the kernel goes wait a sec06:30:24

Show newer messages


Back to Room ListRoom Version: 10