Hello, What distribution is this? > On 9 Jan 2022, at 13:36, Peter Müller <peter.mueller(a)ipfire.org> wrote: > > Hello Michael, > > thanks for your reply. > >> You will need to have the —-target switch before the command: >> >> ./make.sh —-target=aarch64 build >> >> Don’t forget to fetch the toolchain first and you might need to install a couple of packages that will emulate this architecture. An error message should let you know if anything is missing. > > I did so, installed some missing packages, ran "/usr/sbin/qemu-binfmt-conf.sh", downloaded the toolchain > for aarch64, and tried to start the build. Sadly, it aborts without any (obvious) error message: > > Packaged toolchain compilation > Checking for necessary space on disk [ DONE ] > Building LFS > stage2 [ FAIL ] > > Jan 9 13:31:47: Building stage2 > > ERROR: Building stage2 [ FAIL ] > Check /home/pmu/devel/IPFire-development/ipfire-2.x/log/_build.base.log for errors if applicable [ FAIL ] > machine:/home/pmu/devel/IPFire-development/ipfire-2.x # cat /home/pmu/devel/IPFire-development/ipfire-2.x/log/_build.base.log > Jan 9 13:31:47: Building stage2 > > That's literally it. Since make.sh does not seem to support a debug/verbose switch, and the output of > "bash -x ./make.sh --target=aarch64 build" does not gives any helpful information either, I'm afraid I > have to ask for help again. Well… where does it stop? QEMU will definitely complain if something isn’t right. Can you see QEMU being executed at all? -Michael > > In case it helps: > > # cat /proc/sys/fs/binfmt_misc/qemu-aarch64 > enabled > interpreter /usr/bin/qemu-aarch64-binfmt > flags: P > offset 0 > magic 7f454c460201010000000000000000000200b700 > mask ffffffffffffff00fffffffffffffffffeffffff > > Thanks in advance, and best regards, > Peter Müller