| 28 Sep 2023 |
moody | In reply to @opna2608:matrix.org if you have the hardware + a linux and nix installation then you can checkout the branch and try building i.e. stdenv or hello from it. if you don't have the hardware and/or setup then you can add boot.binfmt.emulatedSystems = [ "powerpc64-linux" ] to the nixos config of some other system and test stdenv or hello with --argstr localSystem powerpc64-linux is there something I can get booted up in qemu-system-ppc64? I have access to a machine but it's running ppc64le at the moment | 14:11:48 |
moody | if nothing else I can give the binfmt stuff a try | 14:56:14 |
Puna | hmm iunno, not well versed in that stuff… my hardware only supports big-endian so i'm just running this on top of ppc64 debian | 15:51:18 |
moody | got it, thanks. I'll see what I can get working here | 15:56:35 |
Puna | In reply to @opna2608:matrix.org the latter doesn't really work fully due to emulation-related test failures, but it gets very far along for the sake of mentioning the exact failure: it will die on diffutils tests:
FAIL: test-sigsegv-catch-stackoverflow1
=======================================
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
FAIL test-sigsegv-catch-stackoverflow1 (exit status: 139)
works fine on hardware though
| 16:02:10 |
| @YoshiRulz:matrix.org left the room. | 18:18:13 |
| 29 Sep 2023 |
fgaz | Try asking in #riscv:nixos.org. I think the vf2 has the best support at the moment | 07:35:54 |
fgaz | * Try asking in #riscv:nixos.org. I think the vf2 has the best support at the moment | 07:36:18 |
| @lotte:chir.rs changed their profile picture. | 17:15:30 |
| 3 Oct 2023 |
| pbsds changed their profile picture. | 21:04:53 |
| 4 Oct 2023 |
| pbsds changed their profile picture. | 22:20:41 |
| 6 Oct 2023 |
| Alex S changed their display name from Alex S to ultra (NixOS integrated with PackageKit wen). | 16:30:06 |
| 8 Oct 2023 |
Yuka (she/her) | pythonAbiName =
# python's build doesn't support every gnu<extension>, and doesn't
# differentiate between musl and glibc, so we list those supported in
# here:
# https://github.com/python/cpython/blob/e488e300f5c01289c10906c2e53a8e43d6de32d8/configure.ac#L724
# Note: this is an approximation, as it doesn't take into account the CPU
# family, or the nixpkgs abi naming conventions.
if elem gnuAbiName [
"gnux32"
"gnueabihf"
"gnueabi"
"gnuabin32"
"gnuabi64"
"gnuspe"
]
then gnuAbiName
else "gnu";
| 08:48:37 |
Yuka (she/her) | Minijackson | 08:49:27 |
Yuka (she/her) | this has one big issue | 08:49:37 |
Yuka (she/her) | the list of supported abis keeps changing | 08:49:55 |
Yuka (she/her) | by now the linked configure.ac also lists various loongson and wasm abis | 08:50:34 |
Minijackson | hmmm | 08:55:32 |
Minijackson | the configure.ac seems to have changed quite a bit… | 08:55:43 |
Minijackson | I don't know much about Python's build system, so I don't know how we would add wasm support | 08:57:47 |
Minijackson | does loongson hardware not use a GNU abi? | 08:58:29 |
Alyssa Ross | there's an old world / new world distinction | 08:59:08 |