From: Henning Schild <henning.schild@siemens.com>
To: <jon@solid-run.com>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: Build failure when cross building for armhf on amd64
Date: Wed, 18 Apr 2018 20:15:14 +0200 [thread overview]
Message-ID: <20180418201514.3d6ab66b@mmd1pvb1c.ad001.siemens.net> (raw)
In-Reply-To: <8c0abfaa-66a5-4778-8bc2-bab09490c663@googlegroups.com>
Am Wed, 18 Apr 2018 07:49:01 -0700
schrieb <jon@solid-run.com>:
> I figure someone with more experience would be able to determine that
> way this should work and hence a solution to a failure faster than me
> digging through the process.
>
> I am attempting to build a debian-jessie armhf image with my own
> custom kernel and the setup is failing in buildchroot.bb
>
> The final step is to run chroot configscript.sh, however the chroot
> is built with armhf binaries so dash fails to execute. Is this just
> an unsupported configuration?
At the point where you chroot into a buildchroot using a different
architecture, binfmt magic should kick in and will automagically run
everything in qemu-user-static. Make sure you have "qemu-user-static"
and "binfmt-support" installed. And make sure to execute
"/etc/init.d/binfmt-support start" to configure and enable the magic.
Henning
> Let me know any other information you would need.
>
> Thanks.
>
next prev parent reply other threads:[~2018-04-18 18:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 14:49 jon
2018-04-18 18:15 ` Henning Schild [this message]
2018-04-19 7:29 ` jon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180418201514.3d6ab66b@mmd1pvb1c.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jon@solid-run.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox