!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

315 Members
98 Servers

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


SenderMessageTime
6 Aug 2025
@j-k:matrix.orgj-k 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
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their profile picture.02:29:31
@0x4a6f:nixos.dev0x4A6F joined the room.06:26:01
@anxiety135790:matrix.orgSkyler Archer joined the room.10:31:38
10 Aug 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan @ WHY2025 (DECT: 8793).11:48:44
11 Aug 2025
@normalcea:matrix.orgjasi 🏳️‍⚧️ changed their profile picture.20:36:04
13 Aug 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan.17:35:14
18 Aug 2025
@avze:nitro.chat@avze:nitro.chat left the room.01:16:06
@lotte:chir.rs@lotte:chir.rs changed their profile picture.08:42:55
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:47:40
20 Aug 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1.18:51:31
22 Aug 2025
@elikoga:matrix.orgelikoga changed their profile picture.17:27:45
25 Aug 2025
@marie:marie.cologneMarie joined the room.12:39:47
@marie:marie.cologneMarie 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
@marie:marie.cologneMarieDownload log.txt13:55:49
@qyliss:fairydust.spaceAlyssa RossThat looks like possibly a GCC internal problem? I'd see if it can be reproduced outside Nix to confirm.14:07:44
@marie:marie.cologneMarie So I tried to build gcc with our flags outside of nix, which resulted in
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find -lc: No such file or directory
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find crtn.o: No such file or directory
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
@k900:0upti.meK900Yeah not going to happen, you need cc-wrapper for this18:38:44
@marie:marie.cologneMarie you mean to compile gcc? 18:40:46
@marie:marie.cologneMarie So I tried to build gcc with our flags outside of nix, which resulted in
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find -lc: No such file or directory
/home/marie/arch-build/compiler/powerpc-unknown-linux-gnu/bin/ld: cannot find crtn.o: No such file or directory
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

Show newer messages


Back to Room ListRoom Version: 6