From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Cross-compiling for aarch64 and armv6l on x86_64 does not seem to work Date: Sun, 09 Jan 2022 10:04:53 +0000 Message-ID: In-Reply-To: <76779f22-e5d7-e9aa-edc2-f0b9b53932a5@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8369360731543453811==" List-Id: --===============8369360731543453811== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 8 Jan 2022, at 14:05, Peter M=C3=BCller wro= te: >=20 > Hello *, >=20 > 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 suppor= t. Only > having an x86_64 system at hand, I thought "./make.sh shell --target=3Daarc= h64" would do > the trick (qemu is installed), but apparently isn't: >=20 > # ./make.sh build --target=3Daarch64 You will need to have the =E2=80=94-target switch before the command: ./make.sh =E2=80=94-target=3Daarch64 build Don=E2=80=99t forget to fetch the toolchain first and you might need to insta= ll a couple of packages that will emulate this architecture. An error message= should let you know if anything is missing. -Michael > [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.i= mg.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.i= mg.xz.md5 ipfire-2.27.x86_64-full-core163.iso.md5 lfs .mailmap packages= tools >=20 > If you could give me a hint on what I'm doing wrong, I would be frightfully= grateful. :-) >=20 > Thanks, and best regards, > Peter M=C3=BCller --===============8369360731543453811==--