GNU bug report logs - #50151
Coreutils, aarch64 and chroot

Previous Next

Package: coreutils;

Reported by: Frans de Boer <frans <at> fransdb.nl>

Date: Sat, 21 Aug 2021 16:36:03 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 50151 <at> debbugs.gnu.org (full text, mbox):

From: Frans de Boer <frans <at> fransdb.nl>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Assaf Gordon <assafgordon <at> gmail.com>, 50151 <at> debbugs.gnu.org,
 Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#50151: Coreutils, aarch64 and chroot
Date: Thu, 26 Aug 2021 11:14:10 +0200
On 8/26/21 10:19, Andreas Schwab wrote:
> On Aug 26 2021, Frans de Boer wrote:
>
>> I was not sure, but I tried the same also with x86_64 cross compiled
>> programs using qemu-i386, which worked.
> Of course, they can be natively executed.
>
> Andreas.
>
I understand now better how things are connected. Until some time ago I 
always used qemu-system-xxx, but have failed to understand that the 
qemu-xxx user emulation is only about the cpu. So, starting programs 
with a different coding will fail. The binfmt is the way to solve this 
issue. Now only find a decent explanation how to setup the 
/etc/binfmt.d/register for the aarch64, powerpc and maybe other 
architectures.
At kernel.org there is an explanation, but fairly limited and thus not 
very helpful at this point in time.

I keep on digging.

Frans






This bug report was last modified 3 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.