Nix Cross Compiling | 563 Members | |
| 118 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Feb 2026 | ||
| qemu-ppc64 seems to work fine, it is my host native binary | 09:59:42 | |
| 10:20:22 | ||
| hi, can someone take a look at https://github.com/NixOS/nixpkgs/pull/489743 please? it does fix one issue for fractal to crosscompile but i am not sure if this is the most elegant way to solve it | 11:36:24 | |
| if I disable modemmanager, it fails on gdk-pixbuf: | 12:01:58 | |
| that sounds like something got linked incorrectly. built for the buildPlatform, but with hostPlatform library paths in its rpath. | 12:08:57 | |
| i'm failing in
| 12:42:07 | |
| i'll try to submit the grub thing from earlier when i have time (not rn) and i'll adjust the bootx stuff so cross is happier, but i don't have a clue for this one. you might have to setup either a VM or some other linux distro on the machine itself, build the image natively, and let the machine run for afew days… | 12:43:49 | |
| * i'll try to submit the grub thing from earlier when i have time (not rn) and i'll adjust the bootx stuff so cross is happier, but i don't have a clue for this one. you might have to setup either a VM or some other linux distro on the machine itself, start building the image natively, and let the machine run for afew days to complete the builds… | 12:44:23 | |
| (same error on nixpkgs master FWIW) | 12:45:51 | |
i think the issue is that we fix up the target triplet for clang by passing -target powerpc64-unknown-linux-gnu, but don't have a powerpc64-unknown-linux-gnu-ld in clangStdenv.cc.bintools. only a powerpc64-unknown-linux-gnuabielfv1-ld… guh | 13:29:26 | |
-fuse-ld=<full path to corresponding bintools wrapper>/bin/<original target>-ld works… anything against throwing this into the General clang support section somehow? | 13:44:39 | |
* -fuse-ld=<full path to corresponding bintools wrapper>/bin/<original target triplet>-ld works… anything against throwing this into the General clang support section somehow? | 13:44:49 | |
| "if doing cross cross and <new target triplet>-ld doesn't exist, add the above flag" | 13:45:26 | |
| or it might be time to look deeper into clang and figure out how to make it just accept our full triplets like GCC does, instead of requiring all this song-and-dance. but big scary code base… | 13:46:24 | |
| 20:33:44 | ||
| 13 Feb 2026 | ||
| 10:20:07 | ||
| so it definitely also links
| 14:35:11 | |
| https://github.com/NixOS/nixpkgs/pull/490128 | 14:49:00 | |