|
From: | Frans de Boer |
Subject: | building dif. target system using qemu suit |
Date: | Sat, 4 Sep 2021 10:31:56 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.1 |
LS,When I use qemu-aarch64to start a chroot jail and within the jail use qemu-aarch64-binfmt to cope with the different binary file headers, I can't use bash properly.
That is, the -r and -x flags do not give the normal response. I tested also with -a, -d, -f, -e and -s, and they worked as expected. This behavior stops me from building a new (aarch64) system on a x86_64 build system. Within the chroot jail, I can start programs, run (bash) scripts as long as these scripts do not use the -r and -x tests. There are maybe more tests not working or just working, but these are the ones I tested.
Normally, one would use a build system with the same target architecture, but that implies that you already have a target system up and running. Qemu with binfmt sounded as a possible solution, but as reported above, that seems not the case any longer.
But maybe I do something wrong and thus seek advice how to proceed from here.
Regards, Frans.
[Prev in Thread] | Current Thread | [Next in Thread] |