!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

241 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-v69 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 Jan 2024
@rdg:matrix.orgrdgthat's why I used NIX_CFLAGS_COMPILE_riscv64_unknown_linux_gnu, as it gets added after15:58:20
@rdg:matrix.orgrdgbut it doesn't work for musl (required for the security wrappers) or rust15:58:48
@alex:tunstall.xyzAlex
In reply to @rdg:matrix.org
the problem is that some packages inject their own -march, overriding it
Oh, I think I might have encountered one of those.
But I didn't really need it, so I replaced it with a package that worked (or patched it? I can't remember).
15:59:10
@rdg:matrix.orgrdgI'm testing with gcc.arch again, and I will see if I can instead patch the broken packages15:59:39
@rdg:matrix.orgrdgas it seems to be a better solution15:59:56
@gsaurel:laas.frGuilhem left the room.16:00:23
@alex:tunstall.xyzAlexDon't forget to look at the wiki page linked in the room description and update it if you find anything new. ^.^16:00:58
26 Jan 2024
@rdg:matrix.orgrdgUsing gcc.arch = "rv64g" works mostly okay, except for security wrappers that are compiled with pkgsStatic and the flag is not propagated there13:48:56
@rdg:matrix.orgrdgI had to also modify the kernel configuration to disable EFI13:49:21
@rdg:matrix.orgrdgI opened a PR to address the security wrappers issue: https://github.com/NixOS/nixpkgs/pull/28346013:49:39
@rdg:matrix.orgrdgNow I'm trying to fix the rustc compiler, as it doesn't seem to have any target configuration without compressed instructions13:50:04
27 Jan 2024
@lehmanator:gnulinux.clubSam Lehman removed their profile picture.16:59:32
@lehmanator:gnulinux.clubSam Lehman set a profile picture.16:59:35
@lehmanator:gnulinux.clubSam Lehman removed their display name Sam Lehman.17:03:17
@lehmanator:gnulinux.clubSam Lehman left the room.17:06:46
29 Jan 2024
@lehmanator:tchncs.deSam Lehman joined the room.11:03:20
@lehmanator:tchncs.deSam Lehman set a profile picture.11:06:03
@hxr404:tchncs.de@hxr404:tchncs.de joined the room.19:30:00

Show newer messages


Back to Room ListRoom Version: 10