Nix Cross Compiling | 580 Members | |
| 126 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Feb 2026 | ||
| 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 | ||
| 23 May 2021 | ||
| 12:31:03 | ||
| 12:31:03 | ||
| 12:31:18 | ||
| 13:21:04 | ||
| 13:29:22 | ||
| 13:29:32 | ||
| 13:29:44 | ||
| 13:36:08 | ||
| 13:39:12 | ||
| 14:52:21 | ||
| 14:52:24 | ||
| 14:52:43 | ||
| 18:30:44 | ||
| 20:05:19 | ||
| 21:50:09 | ||
| 24 May 2021 | ||
| 03:05:08 | ||
| 03:35:42 | ||