!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

574 Members
126 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@artturin:matrix.orgArtturin qemu: 10.0.2 -> 10.0.3 16:16:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)okay yeah no that patch is fine, sorry, i was misremembering things16:17:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oops16:17:19
@dramforever:matrix.orgdramforeverno it's not fine it broke cross16:17:34
@dramforever:matrix.orgdramforever but it's not the cause of this thing 16:17:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no i mean arturins fix is fine16:18:33
@dramforever:matrix.orgdramforeveryeah on latest unstable emulator is just broken16:20:03
@dramforever:matrix.orgdramforevernormal qemu's qemu-user stuff are not broken16:20:54
@dramforever:matrix.orgdramforeverwhich is qemu-user16:21:27
@artturin:matrix.orgArtturinReverting didn't help16:21:56
@artturin:matrix.orgArtturinSame error16:22:01
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/43651616:23:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and what if we just give it zlib?16:24:33
@artturin:matrix.orgArtturinIt's already in buildInputs16:24:47
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)HUH16:24:54
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)does it dlopen it??16:25:11
@k900:0upti.meK900Possibly16:25:15
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)uh oh16:25:22
@artturin:matrix.orgArtturin

I forgot if this is normal in ldd but

$ ldd /nix/store/qil3nqnisxb8kmpjfp3i50wgfgdbhh76-qemu-user-10.0.3/bin/qemu-aarch64
	linux-vdso.so.1 (0x00007f2bbc364000)
	libz.so.1 => not found
	libgnutls.so.30 => not found
	libm.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libm.so.6 (0x00007f2bbbd6a000)
	libglib-2.0.so.0 => not found
	libgmodule-2.0.so.0 => not found
	libc.so.6 => /nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/libc.so.6 (0x00007f2bbbb5f000)
	/nix/store/8p33is69mjdw3bi1wmi8v2zpsxir8nwd-glibc-2.40-66/lib/ld-linux-x86-64.so.2 => /nix/store/lmn7lwydprqibdkghw7wgcn21yhllz13-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007f2bbc366000)
16:25:33
@k900:0upti.meK900I don't know how it would do that though16:25:40
@dramforever:matrix.orgdramforeverno it's in DT_NEEDED16:25:38
@artturin:matrix.orgArtturinDon't remember if ldd is supposed to work16:25:41
@dramforever:matrix.orgdramforeverbut not runpath16:25:42
@k900:0upti.meK900Given it should be static16:25:45
@k900:0upti.meK900Or is it not static?16:25:48
@k900:0upti.meK900Oh god why are our emulators not static16:25:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)can we even build a static qemu?16:26:20
@dramforever:matrix.orgdramforeveroh it's not static16:26:30
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)iirc it depends on sdl which explodes in funny ways on static due to dlopen....16:26:35
@dramforever:matrix.orgdramforeveremulators being non static is fine tho16:26:36

Show newer messages


Back to Room ListRoom Version: 6