public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Build failure when cross building for armhf on amd64
@ 2018-04-18 14:49 jon
  2018-04-18 18:15 ` Henning Schild
  0 siblings, 1 reply; 3+ messages in thread
From: jon @ 2018-04-18 14:49 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 525 bytes --]

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?

Let me know any other information you would need.

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 637 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failure when cross building for armhf on amd64
  2018-04-18 14:49 Build failure when cross building for armhf on amd64 jon
@ 2018-04-18 18:15 ` Henning Schild
  2018-04-19  7:29   ` jon
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Schild @ 2018-04-18 18:15 UTC (permalink / raw)
  To: jon; +Cc: isar-users

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.
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failure when cross building for armhf on amd64
  2018-04-18 18:15 ` Henning Schild
@ 2018-04-19  7:29   ` jon
  0 siblings, 0 replies; 3+ messages in thread
From: jon @ 2018-04-19  7:29 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 1247 bytes --]

On Wednesday, April 18, 2018 at 8:15:16 PM UTC+2, Henning Schild wrote:
>
> Am Wed, 18 Apr 2018 07:49:01 -0700 
> schrieb <j...@solid-run.com <javascript:>>: 
>
> > 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. 
> > 
>
>
Thanks that helped a lot.  I am building on CentOS 7 so the for reference 
the packages required are wine-systemd, and qemu-user
 

[-- Attachment #1.2: Type: text/html, Size: 2187 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-19  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 14:49 Build failure when cross building for armhf on amd64 jon
2018-04-18 18:15 ` Henning Schild
2018-04-19  7:29   ` jon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox