| 2 Jul 2026 |
hexa | probably the heaviest package among them | 13:53:56 |
hexa | aarch64-darwin still looks pretty bleak | 13:54:15 |
hexa | so I wasn't in a hurry | 13:54:20 |
hexa | we are also basically ouf of work for the darwin machines with ~5k left queued | 13:54:45 |
hexa | whereas linux has 33k and 43k | 13:55:03 |
hexa | e.g. ffmpeg-headless and MoltenVK | 13:56:16 |
K900 | There's a PR with bulk lld fixes somewhere | 13:56:47 |
whispers [& it/fae] | https://github.com/NixOS/nixpkgs/pull/537712 has moltenvk | 13:57:46 |
emily | oh didn't see that there was another one | 13:58:05 |
emily | urgh I am so sorry about how much this is hitting | 13:58:13 |
emily | the temporary in-tree workarounds aren't too bad, but I have a fear that tons of people's downstream builds are going to break | 13:58:31 |
emily | Myria: re the wrapped Swift, does that mean that Swift itself fails to link programs, not just Swift itself fails to link? | 13:59:46 |
emily | maybe we should just be introducing an ld64-fixed and using that where necessary :/ | 14:00:04 |
emily | will merge for now and we can figure out Swift later | 14:01:20 |
emily | I've hit the button, so should be able to get more Darwin work with an eval. Swift will still block stuff it sounds like though. I will hopefully have some more time to look at aarch64-darwin later tonight | 14:02:24 |
emily | maybe should add some stuff to ld64 passthru tests that would have caught this regression… but I guess if we're switching to LLD anyway it won't be relevant for long | 14:02:55 |
emily | do we know what's up with ffmpeg? | 14:04:07 |
emily | I can spend maybe 15 minutes looking at that now if not | 14:04:21 |
hexa |
ERROR: gmp not found\
| 14:07:27 |
hexa | Redacted or Malformed Event | 14:07:29 |
hexa | https://hydra.nixos.org/build/334103643/nixlog/2 | 14:07:41 |
emily | yeah, I mean… what's actually up :) | 14:07:53 |
emily | since it is getting gmp as a build input | 14:07:59 |
emily | I'm looking now | 14:08:01 |
hexa | hah, no :D | 14:08:05 |
hexa | I can quickly try to repro outside build infra | 14:08:35 |
hexa | repros on community builder | 14:09:23 |
emily | require gmp gmp.h mpz_export -lgmp
check_lib gmp gmp.h mpz_export -lgmp
check_func_headers gmp.h mpz_export -lgmp
test_ld cc -lgmp
test_cc
BEGIN /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
1 #include <gmp.h>
2 #include <stdint.h>
3 long check_mpz_export(void) { return (long) mpz_export; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_mpz_export) & 0xFFFF;
6 return ret; }
END /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
clang -D_ISOC11_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I$(SRC_PATH)/compat/dispatch_semaphore -DPIC -std=c17 -Werror=partial-availability -fno-common -fomit-frame-pointer -fPIC -pthread -I/nix/store/mvi0pf50rpq1qcwv8alh9hsrsa86xwxj-zlib-1.3.2-dev/include -c -o /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.o /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
/nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c:1:10: fatal error: 'gmp.h' file not found
1 | #include <gmp.h>
| ^~~~~~~
1 error generated.
ERROR: gmp not found
| 14:09:40 |
emily | that sure does look like gmp.h isn't present | 14:09:50 |
emily | and yet | 14:10:00 |