!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

354 Members
111 Servers

Load older messages


SenderMessageTime
21 May 2022
@leons:is.currently.onlineLeon * It appears that the riscv32-embedded crossSystem's gcc is built with a hard-float libgcc by default, which seems a little weird to me. We don't set anything in that system definition explicitly, but setting something like gcc = { arch = "rv32i"; abi = "ilp32"; }; is sufficient to convince it to build a soft-float libgcc. 11:13:59
23 May 2022
@j-k:matrix.orgj-k Just building a fresh sd image for visionfive, I'm guessing for the ZFS broken warning just NIXPKGS_ALLOW_BROKEN=1? 13:11:24
@linus:schreibt.jetztLinux Hackerman
In reply to @j-k:matrix.org
Just building a fresh sd image for visionfive, I'm guessing for the ZFS broken warning just NIXPKGS_ALLOW_BROKEN=1?
It's likely to genuinely not work. Are you using linuxPackages_latest?
18:30:40
@linus:schreibt.jetztLinux HackermanThere's an attr in zfs called latestSupportedLinuxPackages or something, try setting boot.kernelPackages to that. If that's too old to support the hardware, I think you'll have to do without zfs for now18:32:01
@j-k:matrix.orgj-kI'm just building https://github.com/zhaofengli/nixos-riscv64/blob/master/pkgs/default.nix#L2418:32:46
@j-k:matrix.orgj-kit mentions zfs here but IDK if it's actually used at all in the sd card image https://github.com/zhaofengli/nixos-riscv64/blob/f0b105b7671289c3fc17849532afe4fceb95bfd6/binary-cache/world.nix#L3818:33:13
@zhaofeng:zhaofeng.liZhaofeng LiYeah, I'm passing NIXPKGS_ALLOW_BROKEN=1. ZFS is pulled in by the installation image profile and was marked broken for 5.16 back then.18:37:06
@zhaofeng:zhaofeng.liZhaofeng LiBut I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/16882618:38:47
@zhaofeng:zhaofeng.liZhaofeng Li* But I don't recommend building my branch right now, probably try https://github.com/NixOS/nixpkgs/pull/168826 to be more up-to-date18:39:05
@j-k:matrix.orgj-kwell I'm a couple hours into building so maybe I'll just hang in there 😅 Do you recommend binfmt or crosscompile? Also I manually tweaked the config to have ssh and my public key so I'm hoping I can just ssh in headless first try 🤞we'll see20:49:47
24 May 2022
@zhaofeng:zhaofeng.liZhaofeng LiFor my branch I always did native and it may not even cross-compile, and my cache only contains native builds.00:33:55
@alxanyae:matrix.orgalyaeanyx changed their display name from Alexandra to alyaeanyx.03:16:37
@j-k:matrix.orgj-k

What am I doing wrong here? 🙃

required (system, features): (riscv64-linux, )
4 available machines:
(systems, maxjobs, supportedFeatures, mandatoryFeatures)
# ...
#                          vvvvvvvvvvvvv
(x86_64-linux, i686-linux, riscv64-linux, 2, benchmark, big-parallel, kvm, nixos-test, )
#                          ^^^^^^^^^^^^^
error: unable to start any build; remote machines may not have all required system features.
       https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html
12:58:23
@qbit:tapenet.orgqbitboot.binfmt.emulatedSystems have riscv64-linux in it? 13:08:20
@j-k:matrix.orgj-k

yep. I've been trying to test it's set up properly on that remote machine, looks like it is

# downloaded rustc
$ ./rust-1.60.0-riscv64gc-unknown-linux-gnu/rustc/bin/rustc --help
qemu-riscv64: Could not open '/lib/ld-linux-riscv64-lp64d.so.1': No such file or directory

and

nix --extra-experimental-features "nix-command flakes" build .#packages.riscv64-linux.hello

looks good in htop

13:21:16
@j-k:matrix.orgj-kimage.png
Download image.png
13:21:21
@j-k:matrix.orgj-k
$ cat flake.nix
{
  outputs = { self, nixpkgs }: {
    packages.riscv64-linux.hello = nixpkgs.legacyPackages.riscv64-linux.hello;
  };
}
13:21:35
@j-k:matrix.orgj-kok, it was an ssh issue I had to fix13:36:45
@j-k:matrix.orgj-kimage.png
Download image.png
15:30:39
@j-k:matrix.orgj-kbeautiful15:30:40
@qbit:tapenet.orgqbitBrummm15:31:52
@rick:matrix.ciphernetics.nlRick (Mindavi)Qemu x 3215:32:30
@j-k:matrix.orgj-k3 failed tests on bison15:41:07
25 May 2022
@qyliss:fairydust.spaceAlyssa RossEricson2314: I'm looking at https://github.com/NixOS/nixpkgs/pull/169793 again. I think to do this properly we need to change the release.nix infrastructure to just use full triples everywhere. But that's going to be a huge amount of work, so I think I'm going to have to try to split it up.10:34:27
@Ericson2314:matrix.orgJohn Ericson Alyssa Ross: yeah I see 13:50:09
@Ericson2314:matrix.orgJohn Ericsonthat change sounds good to me!13:50:18
@qyliss:fairydust.spaceAlyssa Rosscool :)13:56:17
@qyliss:fairydust.spaceAlyssa Rosshopefully I'll have a start by tomorrow13:56:38
@j-k:matrix.orgj-k
In reply to @j-k:matrix.org
3 failed tests on bison
I'm just assuming this is an issue introduced by binfmt so I'm back to x86_64-linux cross compiling. currently on the kernel
14:18:06
@j-k:matrix.orgj-k nixos-sd-image-22.05pre-git-riscv64-linux-visionfive.img.zst 🎉 14:36:14

Show newer messages


Back to Room ListRoom Version: 6