!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

331 Members
105 Servers

Load older messages


SenderMessageTime
15 Apr 2025
@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
@rosscomputerguy:matrix.orgTristan RossI should compile with LLVM and Clang since GCC causes like a 15% dip in performance.05:00:29
@dramforever:matrix.orgdramforeverthe x32ification has begun05:01:22
@dramforever:matrix.orgdramforeverthanks for the rubber ducky debugging i just did exactly what i tried yesterday but on master instead of an old nixpkgs05:01:43
@dramforever:matrix.orgdramforever ...stdenv-linux/setup: line 319: type: install_name_tool: not found 05:18:54
@dramforever:matrix.orgdramforever i knew it wouldn't be that easy 05:19:01
@dramforever:matrix.orgdramforever nevermind that's benign the real error is mv: cannot stat '/nix/store/vszns96v7clqrwfy6lymff7r2lf6xw64-x86_64-unknown-linux-gnux32-nolibc-gcc-14-20241116-lib/x86_64-unknown-linux-gnux32/li b/libgcc_s.so': No such file or directory 05:25:07
@rosscomputerguy:matrix.orgTristan Ross Fun 05:27:26

Show newer messages


Back to Room ListRoom Version: 6