!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

207 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
12 Nov 2025
@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
@rosscomputerguy:matrix.orgTristan RossThat's a problem06:30:29
@dramforever:matrix.orgdramforeverhow did this happen06:30:42
@rosscomputerguy:matrix.orgTristan RossIdk06:30:50
@rosscomputerguy:matrix.orgTristan RossIt's from nixpkgs, I didn't touch PIE stuff lol06:31:02
@dramforever:matrix.orgdramforeveranyway there are random crap we don't build as pie due to it breaking things06:33:22
@dramforever:matrix.orgdramforeverrandom crap like... gcc06:33:26

Show newer messages


Back to Room ListRoom Version: 10