From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: Re: Cross-compiling for aarch64 and armv6l on x86_64 does not seem to work Date: Wed, 12 Jan 2022 09:09:02 +0100 Message-ID: <43fa6056742070371a6be711e12089be@ipfire.org> In-Reply-To: <76779f22-e5d7-e9aa-edc2-f0b9b53932a5@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8320496040109625898==" List-Id: --===============8320496040109625898== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello Peter, target must be the first parameter. ./make.sh --target=aarch64 gettoolchain ./make.sh --target=aarch64 downloadsrc ./make.sh --target=aarch64 build should work but i have not used this since ages because it is sloooow. I think it is better Micheal creates a vm on the mustang for this. Arne Am 2022-01-08 15:05, schrieb Peter Müller: > Hello *, > > currently having a bunch of kernel-related changes in the queue, I > need to update the > kernel configuration files and LFS rootfiles on all architectures we > support. Only > having an x86_64 system at hand, I thought "./make.sh shell > --target=aarch64" would do > the trick (qemu is installed), but apparently isn't: > > # ./make.sh build --target=aarch64 > [lots of output logs omitted] > *** Build finished in 2:11:20 > > > [ DONE ] > # ls > build ccache doc .gitignore > ipfire-2.27.2gb-ext4.x86_64-full-core163.img.xz > ipfire-2.27.x86_64-full-core163.iso langs log make.sh > src > cache config .git html > ipfire-2.27.2gb-ext4.x86_64-full-core163.img.xz.md5 > ipfire-2.27.x86_64-full-core163.iso.md5 lfs .mailmap packages > tools > > If you could give me a hint on what I'm doing wrong, I would be > frightfully grateful. :-) > > Thanks, and best regards, > Peter Müller --===============8320496040109625898==--