Sender | Message | Time |
---|---|---|
5 Aug 2025 | ||
* For anyone interested in LoongArch64, Loongson Hobbyists Community is group ordering motherboards and laptops for overseas developers, with a relatively low price. | 04:57:02 | |
In reply to @aleksana:mozilla.orgSorry, that was the wrong link. Fixed. | 04:57:15 | |
18:46:47 | ||
6 Aug 2025 | ||
Hi, i am trying to get a minimal mainline linux build working on https://linux-sunxi.org/Xunlong_Orange_Pi_3 and currently i cannot get it do do anything, cant check uart, but no led/ no hdmi output, the config is very minimal and it seems upstream support in nix is decent so maybe its sth. easy to spot? https://paste.rs/v3kWt.txt thanks :) (the board work with dietpi so i can rule out a hardware issue) | 11:24:52 | |
aarch64 is not exotic :P try #nixos-on-arm:nixos.org | 11:28:20 | |
Haha that sounds promising, will do 👍 | 11:33:19 | |
who's nick sauce | 16:23:07 | |
Well, I wondered why I had to do so many rebuilds. Turns out the prebuilt sdcard image for visionfive v2 doesn't have the 2 suggested riscv caches configured. Not sure why it took me this long to think about checking (and replacing) /etc/nix/nix.conf going much quicker now | 19:30:35 | |
8 Aug 2025 | ||
02:29:31 | ||
06:26:01 | ||
10:31:38 | ||
10 Aug 2025 | ||
11:48:44 | ||
11 Aug 2025 | ||
20:36:04 | ||
13 Aug 2025 | ||
17:35:14 | ||
18 Aug 2025 | ||
01:16:06 | ||
08:42:55 | ||
09:47:40 | ||
20 Aug 2025 | ||
18:51:31 | ||
22 Aug 2025 | ||
17:27:45 | ||
25 Aug 2025 | ||
12:39:47 | ||
Hi, I'm trying to get a cross compiler for 32-Bit PowerPC, has anyone had luck in getting that to work? I've tried nix-build --expr '(import ./. { crossSystem.config = "powerpc-unknown-linux-gnu"; }).stdenv.cc.cc.libgcc.stdenv.cc.cc' (./. being a nixpkgs checkout) But that build fails with a linker error which I don't really understand. | 13:55:49 | |
Download log.txt | 13:55:49 | |
That looks like possibly a GCC internal problem? I'd see if it can be reproduced outside Nix to confirm. | 14:07:44 | |
So I tried to build gcc with our flags outside of nix, which resulted in When I apply the same hack as we do here (https://github.com/NixOS/nixpkgs/blob/dbfdaa1a1cef034a790d0287bdd885ee78ecb11c/pkgs/development/compilers/gcc/common/libgcc-buildstuff.nix#L6-L37), it results in the same error.I was also to reproduce the same thing in a podman container running arch linux. | 18:38:21 | |
Yeah not going to happen, you need cc-wrapper for this | 18:38:44 | |
you mean to compile gcc? | 18:40:46 | |
So I tried to build gcc with our flags outside of nix, which resulted in When I apply the same hack as we do here (https://github.com/NixOS/nixpkgs/blob/dbfdaa1a1cef034a790d0287bdd885ee78ecb11c/pkgs/development/compilers/gcc/common/libgcc-buildstuff.nix#L6-L37), it results in the same error as in the nix build.I was also to reproduce the same thing in a podman container running arch linux. | 18:42:09 | |
I just used a nix-shell -p to try to build a cross binutils and gcc | 18:43:47 | |
that hack seems to work for ppc64 but not for 32 | 18:44:16 | |
i think i found a way to make it work, no idea if it makes stuff explode, but it makes stuff compile, will have another look tomorrow | 22:03:06 |