NixOS RISC-V | 236 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-v | 69 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Jan 2025 | ||
| You can cross compile ghc for rv64 but cannot bootstrap it natively (yet) | 03:29:24 | |
| Yeah, I was looking at the issue | 03:34:49 | |
| The problem is there's code to disable shellcheck on incompatible problems | 03:35:04 | |
| And the problem is that check does not work | 03:35:12 | |
nixos-unstable should have it, I pointed the config to that and yet it still errors | 03:38:33 | |
| Ok, master branch works | 03:46:50 | |
| Wait, is the nixpkgs issue tracker wrong lol? It says the PR made it through fully | 03:48:47 | |
| Yay, we've gotten passed eval. Now time for like 2 weeks of compiling. | 03:55:44 | |
| 15:40:46 | ||
| 7 Jan 2025 | ||
| 07:42:18 | ||
| 11:41:55 | ||
In reply to @rosscomputerguy:matrix.org I "broke" the check when I added support for cross-compiling GHC. All you need to do is override the default GHC to disable building it for the RISC-V platform such that the check functions as originally intended. | 22:22:06 | |
In reply to @alex:tunstall.xyzOh... fun | 22:25:02 | |
| Well it's been building for 50 hours at this point so it's doing fine | 22:25:23 | |
| I estimate another 40 hours to go | 22:26:55 | |
| 9 Jan 2025 | ||
Fun | 17:57:13 | |
| https://github.com/NixOS/nixpkgs/pull/371240 oh | 17:57:47 | |
This isn't actually in the build logs, is it? ("Disconnected" in ja_JP locale?) | 18:02:23 | |
| That's Chinese | 18:05:36 | |
| And this is over serial so I think there's some clobbering of data | 18:05:46 | |
| Idk how Chinese text got in aside from some earlier logs from lua-language-server failing to build and it prints its unit tests in Chinese | 18:06:59 | |
| I pulled in that bpftools fix into my Flake and looks like it's working? I'm not sure until I have significant progress in this rerun of the builds. | 18:08:13 | |
| 592 builds to go | 18:08:20 | |
In reply to @rosscomputerguy:matrix.orgImpossible to tell them apart because of the way Unicode was designed. | 19:04:42 | |
| Rip, openexr failed tests due to 1 test timing out | 19:45:13 | |
In reply to @rosscomputerguy:matrix.org This unfortunately happens for some packages. Commonly available RISC-V cores can be far slower than the heavily optimised and mature x86 platforms that often set the timings. You could report the issue upstream, but for now disabling checks is an easy solution. It could even save hours of building if you do it pervasively. | 21:20:48 | |
In reply to @alex:tunstall.xyzYeah... I'm kinda aware of that. Hopefully someday we get more performant systems. | 21:22:08 | |
| Emulated builds (e.g. via binfmt) also struggle with the problem. Access to clocks and timings interferes with reproducibility, but they are very difficult system calls to take away. | 21:24:54 | |
| Unfortunately, I cannot do emulated builds because those don't work with a page size larger than 4k. | 23:13:05 | |
| I've gotten things like bus errors with just running ls | 23:13:20 | |