[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building dif. target system using qemu suit - Update.
From: |
Frans de Boer |
Subject: |
Re: building dif. target system using qemu suit - Update. |
Date: |
Sun, 5 Sep 2021 20:24:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.1 |
On 9/4/21 10:31, Frans de Boer wrote:
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.
Tried the same with ppc64, same bad results.
Frans.