From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6550678828397625344 X-Received: by 10.28.184.194 with SMTP id i185mr1668938wmf.29.1525251692766; Wed, 02 May 2018 02:01:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:9a85:: with SMTP id a5-v6ls3199238wrc.13.gmail; Wed, 02 May 2018 02:01:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoAuXALeWd3+Dp/G664MfhJjY4svUzdZjMzqQbN4XAwmugd+6xI2Uu+pazKh8f2S/r6U++5 X-Received: by 2002:adf:ce85:: with SMTP id r5-v6mr912533wrn.12.1525251692253; Wed, 02 May 2018 02:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525251692; cv=none; d=google.com; s=arc-20160816; b=rRgozHiaH5wPXHULES8gjsZQL+V0d0g64O/GXRbk7uc2dHB0BwJwKVvK/94jIiU67G H6QXwhQRvSkXxefxlLLVmUf/JgJOltmlKvtcpVs5CBAQlurJtSNltP/rOu5Be8PXbSIf g+yt+mS1ELvHfrmgvHpmgFH/iS5pqJg7mX4hjVIkZSuFsl0FTs8zPDm9Cbxz1fCkks13 yhkMbz1TI3I2AvUh6sKOIuVzrtqJBZZyK8KK99eOWSrJ01QLSg/DCIwwb+NXsxz+qkbG Y1p7BIFz1iJZkYQ7LXsX8o8SlPmqGSiXoRJg5EWs452imj1V6yFemQQP2/GMCAE7/XRu VX5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=8oKYTceLN59CYz6jTLl9sp8q+zqxXwL5sY8fs9GcBxk=; b=rAcU2QfKjZsN0TrQOh/hn7WyFEUauoy4zqAiyvFvTKEEJ8ssCbZcKUK1SzjEjlVTW/ L78mSCVGkZ3LYph2YHpLWb8QDuk+PWq9wp6JIsMswVfgS/Qn5EQB5VKrJsG43wPNlGRQ 6bVMVObI2OVmiwPLth3qy9H0ieuD0hjXxso2MVqWoG2KAalDU53ZfxXAoPDVZJBbG0BI Af+ItXtwQMdogUXjtbYINFVxPSwTIJsqiOzKr6kgbCf4N09WXJPZa7weQFmgg4kZtDDM IriLO+aj8lMPw+/ozAW5oxhpR6/Ik7us42SqluSflHgOtGACVsMSIteDvylFlBz2am/i QDXQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id m2si515458wmh.2.2018.05.02.02.01.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 02:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w4291V9X019923 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 May 2018 11:01:31 +0200 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w4291Vao018983; Wed, 2 May 2018 11:01:31 +0200 Subject: Re: Host with i686 kernel To: "[ext] Henning Schild" , Alexander Smirnov Cc: isar-users References: <20180502105257.34308124@md1pvb1c.ad001.siemens.net> From: Jan Kiszka Message-ID: Date: Wed, 2 May 2018 11:01:31 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20180502105257.34308124@md1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: AbMLqhiqZk3b On 2018-05-02 10:52, [ext] Henning Schild wrote: > Am Tue, 1 May 2018 21:19:19 +0300 > schrieb Alexander Smirnov : > >> 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