public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* Host with i686 kernel
@ 2018-05-01 18:19 Alexander Smirnov
  2018-05-02  8:52 ` Henning Schild
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Smirnov @ 2018-05-01 18:19 UTC (permalink / raw)
  To: isar-users

Hi all,

I've faced with the problem building Isar on i686 host kernel. The amd64 
configuration fails on debootstrap with error:

  - mount: cannot execute binary file: Exec format error

As I found, this error happened when debootstrap tries to run 
'/bin/mount' in chroot. The issue is that there is no binfmt for x86_64.

I've found a binfmt config for AMD64:

http://seeblog.seenet.ca/2016/03/running-amd64-binaries-on-an-i386-linux-system/

But it works very unstable (possibly this is the reason why it's not 
included in default package).

Conclusion: Isar can't build 64-bit systems on 32-bit host kernels.

Alex

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

* Re: Host with i686 kernel
  2018-05-01 18:19 Host with i686 kernel Alexander Smirnov
@ 2018-05-02  8:52 ` Henning Schild
  2018-05-02  9:01   ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Schild @ 2018-05-02  8:52 UTC (permalink / raw)
  To: Alexander Smirnov; +Cc: isar-users

Am Tue, 1 May 2018 21:19:19 +0300
schrieb Alexander Smirnov <asmirnov@ilbers.de>:

> Hi all,
> 
> I've faced with the problem building Isar on i686 host kernel. The
> amd64 configuration fails on debootstrap with error:
> 
>   - mount: cannot execute binary file: Exec format error
> 
> As I found, this error happened when debootstrap tries to run 
> '/bin/mount' in chroot. The issue is that there is no binfmt for
> x86_64.
> 
> I've found a binfmt config for AMD64:
> 
> http://seeblog.seenet.ca/2016/03/running-amd64-binaries-on-an-i386-linux-system/
> 
> But it works very unstable (possibly this is the reason why it's not 
> included in default package).
> 
> Conclusion: Isar can't build 64-bit systems on 32-bit host kernels.

I think that is OK, 32bit x86 is dead. To follow up one could open a
debian bug about the missing/broken binfmt and document that limitation
in Isar.

Henning

> Alex
> 


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

* Re: Host with i686 kernel
  2018-05-02  8:52 ` Henning Schild
@ 2018-05-02  9:01   ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2018-05-02  9:01 UTC (permalink / raw)
  To: [ext] Henning Schild, Alexander Smirnov; +Cc: isar-users

On 2018-05-02 10:52, [ext] Henning Schild wrote:
> Am Tue, 1 May 2018 21:19:19 +0300
> schrieb Alexander Smirnov <asmirnov@ilbers.de>:
> 
>> Hi all,
>>
>> I've faced with the problem building Isar on i686 host kernel. The
>> amd64 configuration fails on debootstrap with error:
>>
>>   - mount: cannot execute binary file: Exec format error
>>
>> As I found, this error happened when debootstrap tries to run 
>> '/bin/mount' in chroot. The issue is that there is no binfmt for
>> x86_64.
>>
>> I've found a binfmt config for AMD64:
>>
>> http://seeblog.seenet.ca/2016/03/running-amd64-binaries-on-an-i386-linux-system/
>>
>> But it works very unstable (possibly this is the reason why it's not 
>> included in default package).
>>
>> Conclusion: Isar can't build 64-bit systems on 32-bit host kernels.
> 
> I think that is OK, 32bit x86 is dead. To follow up one could open a
> debian bug about the missing/broken binfmt and document that limitation
> in Isar.

It could easily be a qemu-user issue as well. QEMU always had problems
mapping the full register set of x86-64 on the constrained one of i386.
Plus, no one is using 32-bit anymore (except some crazy embedded and/or
nostalgic folks).

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

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

end of thread, other threads:[~2018-05-02  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 18:19 Host with i686 kernel Alexander Smirnov
2018-05-02  8:52 ` Henning Schild
2018-05-02  9:01   ` Jan Kiszka

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