Nix Cross Compiling | 579 Members | |
| 129 Servers |
| Sender | Message | Time |
|---|---|---|
| 11 Nov 2021 | ||
| i used 269 because it said the file was generated with it | 22:12:01 | |
| other distros run autogen https://github.com/archlinux/svntogit-packages/blob/da001b08371f2dd1c64aaf1767af0ea9e3c6cdf1/trunk/PKGBUILD#L37 | 22:20:09 | |
| but we dont even have that file | 22:20:24 | |
| * but we dont even have that file
| 22:30:14 | |
| 22:44:54 | |
| with this i get to
| 22:45:09 | |
| 12 Nov 2021 | ||
| Hmm, so it keeps asking for that binary regardless 😕 | 06:24:51 | |
lib.systems.elaborate { system = "riscv64-none-elf" ; } != lib.systems.elaborate { system = "riscv64-unknown-none-elf" ; } | 15:34:52 | |
| Alyssa Ross: smells like a bug? | 15:35:01 | |
the latter yields riscv64-none without the elf as the system | 15:36:33 | |
| I didn't know system could take that sort of format | 16:05:47 | |
| I think the second part of system can have any number of dashes in practice | 16:14:15 | |
| well, what do I know | 16:14:38 | |
| funilly I've seen riscv64-unknown-elf for this a lot | 16:14:57 | |
| but I don't know if that is LLVM? or something else? | 16:15:10 | |
interestingly "none" always has unknown execformat in parsed | 16:18:15 | |
| although it should be elf? | 16:18:20 | |
| for none-elf that is | 16:18:32 | |
| qyliss: what cross target are you working on? | 17:09:05 | |
| Hi. I experience the following situation: What's the proper way of building statically? | 21:30:37 | |
| Looks like I fall into https://github.com/NixOS/nixpkgs/blob/cf0519854227bac9f429c8b5129a75168cc4de26/lib/systems/platforms.nix#L520. So it overwrites my needed arch and abi just because it's mipsel (but they are incompatible). | 21:57:01 | |
| * Looks like I fall into https://github.com/NixOS/nixpkgs/blob/cf0519854227bac9f429c8b5129a75168cc4de26/lib/systems/platforms.nix#L520. So it overwrites my needed arch and abi with fuloong2f_n32 properties just because it's mipsel (but they are incompatible). | 21:58:13 | |
| 13 Nov 2021 | ||
| I've come to a conclusion that fuloong2f_n32/loongson2f runs actually on mips64el cpu, not mipsel. wikipedia states that n32 is 64-bit: https://en.wikipedia.org/wiki/Calling_convention#MIPS. nixpkgs defines mips64el properly here: https://github.com/NixOS/nixpkgs/blob/47036da610bdc8a1624605b7d2815d2acf07f604/lib/systems/parse.nix#L94. So https://github.com/NixOS/nixpkgs/blob/cf0519854227bac9f429c8b5129a75168cc4de26/lib/systems/platforms.nix#L520 seems to be wrong association. | 01:04:05 | |
| 14 Nov 2021 | ||
| mic92: I usually test with aarch64-multiplatform | 13:35:14 | |
| maybe he means netbsd? | 15:05:24 | |
| so you are building for aarch64-netbsd? | 15:37:44 | |
| working on as in testing for or working on getting working better? | 15:43:44 | |
| Alyssa and John got NetBSD cross working was what I was referring to | 15:44:09 | |
| I usually test cross compiling to riscv64-linux since I have binfmt_misc enabled for aarch64, so that would problems | 15:44:44 | |
| 16 Nov 2021 | ||
| 21:34:28 | ||