| 13 Aug 2025 |
| matthewcroughan @fosdem changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan. | 17:35:14 |
| 18 Aug 2025 |
| @avze:nitro.chat left the room. | 01:16:06 |
| Lotte (it/its)/Cinny (she/her) θΔ& changed their profile picture. | 08:42:55 |
| Lotte (it/its)/Cinny (she/her) θΔ& changed their profile picture. | 09:47:40 |
| 20 Aug 2025 |
| jopejoe1 (4094@epvpn) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1. | 18:51:31 |
| 22 Aug 2025 |
| elikoga changed their profile picture. | 17:27:45 |
| 25 Aug 2025 |
| Marie joined the room. | 12:39:47 |
Marie | 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 | Download log.txt | 13:55:49 |
Alyssa Ross | That looks like possibly a GCC internal problem? I'd see if it can be reproduced outside Nix to confirm. | 14:07:44 |
Marie | 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 | Yeah not going to happen, you need cc-wrapper for this | 18:38:44 |
Marie | you mean to compile gcc? | 18:40:46 |