| 23 Oct 2025 |
Electro | * Trying to cross compile the linux kernel with clang, finding that for some reason pkgsCross.aarch64-multiplatform.buildPackages.clang does not have arm_neon.h. Looks like for some reason it's set up to just use --gcc-toolchain= pointing to the aarch64 gcc toolchain, which in my experience always runs into these incompatible header issues. The build finds this one, but it seems some of the types are messed up when it's used for clang. I've always been baffled by clang's intent to be a cross-compiler, but always being so difficult :(
Would appreciate if anyone has any suggestions on how to approach these kinds of problems.
| 00:22:40 |
Electro | Interestingly the pkgsCross.aarch64-multiplatform.clang package does have its own arm_neon.h that presumably works, though of course I want to cross compile... | 00:25:56 |
matthewcroughan | Grimmauld (any/all): ping | 12:24:39 |
matthewcroughan | what romo is this? | 12:24:41 |
matthewcroughan | * what room is this? | 12:24:44 |
matthewcroughan |  Download image.png | 12:24:50 |
matthewcroughan | matrix :( | 12:24:55 |
Grimmauld (any/all) | cross-compiling | 12:24:57 |
matthewcroughan | this is where I was in, not exotic targets | 12:25:05 |
matthewcroughan | How do you fix Matrix amnesia? | 12:50:33 |
| Mr Argoz joined the room. | 20:53:40 |
| 24 Oct 2025 |
matthewcroughan | Alyssa Ross: can https://github.com/NixOS/nixpkgs/pull/452642 be merged or do we wait for Perl itself to be fixed? | 00:15:35 |
matthewcroughan | Also what about https://github.com/NixOS/nixpkgs/pull/445833 ? | 00:58:19 |
Alyssa Ross | That same fix would have to be made for every other package using that perl header, and everywhere we apply that hack, we'd have to undo it when perl is fixed properly. | 08:23:33 |
Alyssa Ross | I'm still waiting for a response on that one. https://github.com/NixOS/nixpkgs/pull/445833#discussion_r2384088584 | 08:23:42 |
matthewcroughan | I'm not sure on it, so I'll just keep applying it locally | 08:42:16 |
matthewcroughan | Yeah better to wait then | 08:42:35 |
| @neobrain:matrix.org left the room. | 10:30:47 |
emily | FWIW pkgsCross.aarch64-multiplatform.bintoolsNoLibc does not evaluate on x86_64-linux right now. it works on 25.05. | 20:54:51 |
emily | broken by 5c1955ff1404eddf3c0379a0573aabe83ac5bca3 | 20:59:35 |
| 25 Oct 2025 |
emily | https://github.com/NixOS/nixpkgs/pull/197674/files this PR confuses me deeply | 01:04:30 |
emily | we don't support Canadian cross, right? we never have all of build, host, and target distinct? | 01:04:43 |
emily | but this NOP apparently fixed things at some point? | 01:05:13 |
emily | I must be too tired to think properly :) | 01:05:29 |
emily | ok, no, it's not a nop, the derivations before and after differ, I'm just confused | 01:10:07 |
emily | oh | 01:11:38 |
emily | libraries = lib.makeExtensible (libraries: let
callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python3 isl release_version version monorepoSrc; });
in {
| 01:11:45 |
emily | yeah that. would explain it. | 01:11:47 |
matthewcroughan | What is Canadian cross, and where can I learn more about the origins of this terM/ | 14:22:39 |
matthewcroughan | * What is Canadian cross, and where can I learn more about the origins of this term? | 14:22:40 |