!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

297 Members
92 Servers

Load older messages


SenderMessageTime
15 Apr 2025
@dramforever:matrix.orgdramforeveri know this is possible04:42:34
@dramforever:matrix.orgdramforever because we already have mips64el-unknown-linux-gnuabin32 04:42:44
@dramforever:matrix.orgdramforeverso there should be some way of getting that but x86_6404:42:53
@dramforever:matrix.orgdramforeverbut i don't know what i need to do04:43:16
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/blob/master/lib/systems/parse.nix#L652 these are the abis we support 04:43:22
@rosscomputerguy:matrix.orgTristan RossWe'd have to explicitly add it in.04:43:55
@dramforever:matrix.orgdramforeverthe great formatting kinda ruined this file 😥04:44:28
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/blob/master/lib/systems/examples.nix may not be a bad idea to add the target here for easy support in pkgsCross 04:44:40
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dramforever:matrix.org
the great formatting kinda ruined this file 😥
Lol yeah, I was planning on making improvements there but haven't had time to do it.
04:45:19
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/391695 would mess with the formatting and make things easier to extend and not always need to upstream.04:46:15
@dramforever:matrix.orgdramforeveractually gnux32 might be a debian thing04:47:01
@rosscomputerguy:matrix.orgTristan RossOh04:47:05
@rosscomputerguy:matrix.orgTristan RossWhat is it the ABI called in GCC or glibc?04:47:34
@dramforever:matrix.orgdramforever... gnux3204:47:49
@rosscomputerguy:matrix.orgTristan Ross I can find out what we call it in LLVM 04:47:53
@dramforever:matrix.orgdramforeveri see it in gcc04:48:22
@rosscomputerguy:matrix.orgTristan Ross Oh we have GNUILP32 and GNUX32 in LLVM 04:49:05
@dramforever:matrix.orgdramforever it should be x86_64-unknown-linux-gnux32 in llvm as well 04:50:00
@rosscomputerguy:matrix.orgTristan RossYeah, I was looking at the enum04:52:08
@rosscomputerguy:matrix.orgTristan RossIdk if the LLVM docs do reference it04:52:20
@rosscomputerguy:matrix.orgTristan RossBut this means we do have two different abis04:52:38
@rosscomputerguy:matrix.orgTristan Ross gnuilp32 and gnux32 04:52:53
@dramforever:matrix.orgdramforeverlolwhat04:53:03
@rosscomputerguy:matrix.orgTristan Ross Since LLVM and GCC both support gnux32, we could certainly use it. 04:53:37
@dramforever:matrix.orgdramforeveroh wait i swear i tried this last time?04:57:23
@rosscomputerguy:matrix.orgTristan Ross Lol, musl seems to possibly support it according to LLVM 04:58:31
@rosscomputerguy:matrix.orgTristan Ross muslx32 04:58:38
@dramforever:matrix.orgdramforeveri think i may have got an unrelated failure for cross last time04:59:09
@rosscomputerguy:matrix.orgTristan RossOh lol04:59:17
@rosscomputerguy:matrix.orgTristan RossI can make a branch in my nixpkgs and try it. I won't be able to execute it but certainly try compiling.04:59:41

Show newer messages


Back to Room ListRoom Version: 6