| 15 Apr 2025 |
dramforever | save a third of memory usage with this one weird trick | 06:01:07 |
dramforever | but it runs slower | 06:01:16 |
dramforever | so, only one way to fix it | 06:01:21 |
dramforever | i would have sent you a bar graph but you know | 06:02:22 |
dramforever | okay, isCompatible is just wrong now | 06:18:08 |
dramforever | or is it like, theoretical? | 06:18:26 |
dramforever |
NOTE: not always true! Some arm64 cpus don’t support arm32 mode okay, not very confidence inspiring
| 06:19:16 |
dramforever | *
NOTE: not always true! Some arm64 cpus don’t support arm32 mode
okay, not very confidence inspiring
| 06:19:23 |
dramforever | chat should x64.canExecute x32 be true? it's not default enabled in linux | 06:23:29 |
dramforever | i gave it false because it's false on my machine, currently at least, and now we have x86_64-unknown-linux-gnux32-gcc | 06:37:46 |
dramforever | * i gave it false because it's false on my machine, currently at least, and now we are building x86_64-unknown-linux-gnux32-gcc | 06:42:25 |
dramforever | hell yeah now we got business
[dram@sakuya ~/code/nixpkgs]% /nix/store/7s53146ig1117bfx64l2f94nm2q3aahx-glibc-x86_64-unknown-linux-gnux32-2.40-66/lib/ld-linux-x32.so.2 /nix/store/1p04yi3n469vw3khyvbn9dnllxyga5av-hello-x86_64-unknown-linux-gnux32-2.12.1/bin/hello
Hello, world!
[dram@sakuya ~/code/nixpkgs]% file /nix/store/1p04yi3n469vw3khyvbn9dnllxyga5av-hello-x86_64-unknown-linux-gnux32-2.12.1/bin/hello
/nix/store/1p04yi3n469vw3khyvbn9dnllxyga5av-hello-x86_64-unknown-linux-gnux32-2.12.1/bin/hello: ELF 32-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/7s53146ig1117bfx64l2f94nm2q3aahx-glibc-x86_64-unknown-linux-gnux32-2.40-66/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.10.0, not stripped
| 07:01:27 |
dramforever | Tristan Ross: in case you want to suffer with me together: https://github.com/dramforever/nixpkgs/tree/add-x32-wip | 08:07:11 |
dramforever | let's see what the nixpkgs overlords have to say about this https://github.com/NixOS/nixpkgs/pull/398802 | 08:47:55 |
dramforever | muslx32 hello also works | 09:14:30 |
dramforever | my laptop working hard today | 09:14:41 |
dramforever | sadly i can't get boost or python working | 11:07:27 |
| 16 Apr 2025 |
dramforever | I found the boost problem. We package boost-build separately and use that instead because it's for pkgsBuildHost. I was wondering what on earth is going on... | 12:34:58 |
dramforever | and libffi installed itself to libx32, which confused python | 12:56:12 |
dramforever | we'll see | 12:56:16 |
dramforever | we're at nix | 13:42:52 |
Tristan Ross | In reply to @dramforever:matrix.org muslx32 hello also works Nice | 14:08:57 |