!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

284 Members
85 Servers

Load older messages


SenderMessageTime
15 Apr 2025
@rosscomputerguy:matrix.orgTristan RossBut is there a libc which supports it?04:40:00
@dramforever:matrix.orgdramforeverbut i don't know how to add it04:40:04
@rosscomputerguy:matrix.orgTristan RossOh04:40:08
@rosscomputerguy:matrix.orgTristan Ross That's easy 04:40:12
@rosscomputerguy:matrix.orgTristan Ross You set localSystem.system to your host 04:40:42
@rosscomputerguy:matrix.orgTristan Ross crossSystem.config is that triple. 04:40:59
@rosscomputerguy:matrix.orgTristan Ross And that's what you pass to the attribute set when importing nixpkgs 04:41:18
@dramforever:matrix.orgdramforever error: Unknown ABI: gnux32 04:42:12
@rosscomputerguy:matrix.orgTristan RossAh yeah, we don't support that ABI04:42:31
@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

Show newer messages


Back to Room ListRoom Version: 6