| 15 Apr 2025 |
dramforever | i see it in gcc | 04:48:22 |
Tristan Ross | Oh we have GNUILP32 and GNUX32 in LLVM | 04:49:05 |
dramforever | it should be x86_64-unknown-linux-gnux32 in llvm as well | 04:50:00 |
Tristan Ross | Yeah, I was looking at the enum | 04:52:08 |
Tristan Ross | Idk if the LLVM docs do reference it | 04:52:20 |
Tristan Ross | But this means we do have two different abis | 04:52:38 |
Tristan Ross | gnuilp32 and gnux32 | 04:52:53 |
dramforever | lolwhat | 04:53:03 |
Tristan Ross | Since LLVM and GCC both support gnux32, we could certainly use it. | 04:53:37 |
dramforever | oh wait i swear i tried this last time? | 04:57:23 |
Tristan Ross | Lol, musl seems to possibly support it according to LLVM | 04:58:31 |
Tristan Ross | muslx32 | 04:58:38 |
dramforever | i think i may have got an unrelated failure for cross last time | 04:59:09 |
Tristan Ross | Oh lol | 04:59:17 |
Tristan Ross | I 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 |
Tristan Ross | I should compile with LLVM and Clang since GCC causes like a 15% dip in performance. | 05:00:29 |
dramforever | the x32ification has begun | 05:01:22 |
dramforever | thanks for the rubber ducky debugging i just did exactly what i tried yesterday but on master instead of an old nixpkgs | 05:01:43 |
dramforever | ...stdenv-linux/setup: line 319: type: install_name_tool: not found | 05:18:54 |
dramforever | i knew it wouldn't be that easy | 05:19:01 |
dramforever | 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 |
Tristan Ross | Fun | 05:27:26 |
dramforever | it's installed to libx32???? | 05:38:52 |
dramforever | no way | 05:39:00 |
dramforever | the fun truly begins, i guess | 05:39:33 |
Tristan Ross | Oh, that's fun. We'll need things to be adjusted now lol. | 05:55:19 |
dramforever | i've performed some adjustments | 05:56:02 |
dramforever | there's move-lib64.sh that i haven't touched yet because i fear | 05:56:17 |
dramforever | not really relevant but all this started as a joke | 05:56:50 |
Tristan Ross | Make move-libx32.sh a thing lol | 05:56:57 |