!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

234 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

Load older messages


SenderMessageTime
2 Apr 2024
@hive:the-apothecary.clubDagn Hiveis there any further information or tests i should provide ?06:20:07
@hive:the-apothecary.clubDagn Hive* is there any further information or test results i should provide ?06:20:12
@alex:tunstall.xyzAlex

Given that you can reproduce on multiple x86 machines, it looks like:

native riscv => ok
emulated riscv => failure

I'm running the build emulated locally to be extra sure of the above.

I'm not really sure how Nixpkgs handles fixes for emulator-only issues.
(It could also just be that my RISC-V hardware is more forgiving than QEMU of non-standard behaviour?)

06:24:56
@hive:the-apothecary.clubDagn Hivehm possibly06:25:26
@hive:the-apothecary.clubDagn Hivewhat riscv device are you building on ?06:28:02
@alex:tunstall.xyzAlexStarFive VisionFive 206:28:50
@hive:the-apothecary.clubDagn Hivealright, that's what i'll be building on06:29:00
@0x4a6f:matrix.org[0x4A6F] changed the room topic to "NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux " from "NixOS on RISC-V https://pad.lassul.us/NixOS-riscv64-linux ".22:22:01
3 Apr 2024
@hive:the-apothecary.clubDagn Hivehaving the same issue with boehmgc05:27:12
@hive:the-apothecary.clubDagn HiveDownload boehm-gc-log.txt05:28:39
@hive:the-apothecary.clubDagn Hivetime for a third bug report i guess05:28:46
@0x4a6f:matrix.org[0x4A6F] Who is also up for nix riscv64 maintainership? 06:44:44
@0x4a6f:matrix.org[0x4A6F] * Who is also up for nix riscv64 maintainership (thumbs up it then 👍️)? 06:45:48
@fgaz:matrix.orgfgaz I moved the pad to https://wiki.nixos.org/wiki/RISC-V. I only moved the links for now. Who is the copyright owner of the GHC stuff at the end? Could you add it to the wiki? 06:57:03
@fgaz:matrix.orgfgaz
In reply to @0x4a6f:matrix.org
Oh you already noticed!
06:58:32
@0x4a6f:matrix.org[0x4A6F]Yeah, did some rework on the wiki, glancing at the NixOS_on_Arm page :)07:02:38
@0x4a6f:matrix.org[0x4A6F] * Yeah, did some rework on the wiki, while glancing at the NixOS_on_Arm page. :) 07:02:50
@0x4a6f:matrix.org[0x4A6F]We might organize through subpages, that is a cool feature of MediaWiki.07:11:14
@alex:tunstall.xyzAlex
In reply to @fgaz:matrix.org
I moved the pad to https://wiki.nixos.org/wiki/RISC-V. I only moved the links for now. Who is the copyright owner of the GHC stuff at the end? Could you add it to the wiki?
Sure. Would it belong best on a separate page, given that it's quite long?
07:51:25
@fgaz:matrix.orgfgaz
In reply to @alex:tunstall.xyz
Sure. Would it belong best on a separate page, given that it's quite long?
Since [0x4A6F] added a GHC redlink I assume that's the intention
07:53:03
@alex:tunstall.xyzAlex
In reply to @fgaz:matrix.org
Since [0x4A6F] added a GHC redlink I assume that's the intention
Ah it wasn't showing up as as red link because I wasn't signed in apparently.
08:05:07
@0x4a6f:matrix.org[0x4A6F]And it wasn't saved because of that calc-captcha...16:16:40
@0x4a6f:matrix.org[0x4A6F] * And it wasn't saved because of that calc-captcha... -> https://wiki.nixos.org/wiki/RISC-V/GHC16:17:09
@0x4a6f:matrix.org[0x4A6F]Thanks Alex for that writeup and your work on cross bootstraping GHC. ❤️16:17:31
@alex:tunstall.xyzAlex
In reply to @0x4a6f:matrix.org
And it wasn't saved because of that calc-captcha... -> https://wiki.nixos.org/wiki/RISC-V/GHC
Pain. I was going to copy it over to the wiki anyway. I guess I might touch it up a bit to make it more flake-friendly.
16:43:31
@alex:tunstall.xyzAlex
In reply to @0x4a6f:matrix.org
Thanks Alex for that writeup and your work on cross bootstraping GHC. ❤️
I still need to figure out what's causing the registerised segfaults, so it's not done yet.
16:44:39
@alex:tunstall.xyzAlex

The rustc build is segfaulting on native builds too 🙃

Seems to be https://github.com/rust-lang/rust/issues/117022

Now beginning to wonder if all the GHC segfaults aren't also kernel-related...

18:02:35
@alex:tunstall.xyzAlex
  1. rustc segfaults due to the 6.5 kernel(?).
  2. uboot-tools is needed to build the 6.8 kernel.
  3. python3-cryptography is needed to build uboot-tools.
  4. rustc is needed to build python3-cryptography.

I'm glad I've never GCed on this system, because I might need to run an older kernel to upgrade the kernel...

19:50:19
@hive:the-apothecary.clubDagn Hive https://github.com/NixOS/nixpkgs/issues/301340 20:01:35
@hive:the-apothecary.clubDagn Hivedo you think all of the segfault errors on my builds are related to this kernel as well ?20:02:02

Show newer messages


Back to Room ListRoom Version: 10