-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building in a qemu vm sandbox #42
Comments
Just out of curiosity: where does qemu come from in your current solution? Do you use a regular distro image? |
qemu5 itself is installed on system. just copying e.g. the |
missed to answer: i used a rootfs created by debootstrap in this case for aarch64. |
guys... maybe someone has an idea. i used bob aarch64 sandbox for some weeks. I could build e.g. |
Works for me too here automatically. Actually I have no idea how it works without having the static executable in the sandbox. 🤷♂️ |
could you check, if u have it is possible to register architecutres in binfmt. there are 2 kinds of issues:
has your executable no dependency to ld? what's with |
No, |
which sandbox do u use. i realized my /bin/bash in my current sandbox isn't static linked. that should be the problem. (i used my aarch64Sandbox branch) |
I don't have an aarch64-sandbox right now but I remember that it just worked. It's not required that bash is linked statically. The shared libraries and the runtime loader are taken from the sandbox. |
wtf. i analyzed the problem.
i also tested it with a plain new ubuntu18.04. UPDATE: haha. if i get it up in WSL2 20.04, than it also works automatically in 18.04, too. not really usable, but ... interessting. |
UPDATE: i am still stuck at:
i found a solution to activate the qemu stuff, like said in last post, i installed wsl2 ubuntu18 and ubuntu 20. than i activate |
feature request:
it would be nice, if it is possible to select e.g. aarch64 ARCH for sandbox to build "native" aarch64 on x86_64 system by using qemu-user-static.
currently we built a sandbox with that binary. the performance with qemu5 is impressive!
so we build aarch64 artifacts (on x86_64 jenkins) for aarch64 targets (on which we also use bob natively! nvidia agx)
The text was updated successfully, but these errors were encountered: