Daniel Xu
Daniel Xu
Did you give the qemu patches a try? We could also try to switch to virtiofs. I believe that's the successor to this 9pfs use case. https://virtio-fs.gitlab.io/ Also #16
So the mechanics seem to work, but unfortunately the final binary does not link. I got as far as: https://github.com/danobi/vmtest/tree/release_container looks like libcap-ng uses functionality that requires dynamic linking: ```...
the static release binaries are very useful and we're depending on it from kernel and bpftrace side. so I guess our options are to: * add a feature to virtiofsd...
Ah yeah I think you're right. Lemme give it a shot with alpine later. I can pick this PR up if you're out before it's finished
Yeah, just the one thing to do is make sure cross compiling still works
I think I got alpine to install foreign packages after some trial and error. but stuck again on some linker errors. tried a few things (73470a26318495db0d94417be0c830781503fb71, dc31faaddfaab03116faa0c6716b44cf157bfffb). Not much luck....
I think I tried last night but I tried again just now and it didn't help. Got this: ``` = note: /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/local/rustup/toolchains/1.81.0-x86_64-unknown-linux-musl/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crt1.o: Relocations in generic ELF (EM: 183) /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld:...
The issue with anything that's GH action based (opposed to something you can run locally) is these cross compiling adventures start taking weeks at a time to make changes. Cuz...
I was reading last night that alpine doesn't quite support cross compile as well as ubuntu does. Which is how I found the `/etc/apk/arch` hack. In meantime I shall try...
Emulations works quite well for x86_64 and aarch64: 76795cce1802a6debcebe3e0eaada997d4c5bd33 But rustc doesn't support s390x-unknown-linux-musl at all so I think musl/alpine is out. Seems like linking approach is out unless you...