From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6545800489054765056 X-Received: by 10.28.116.1 with SMTP id p1mr309732wmc.7.1524075316279; Wed, 18 Apr 2018 11:15:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.71.29 with SMTP id u29ls1042654wma.5.gmail; Wed, 18 Apr 2018 11:15:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+yTPCceG9VWZDBEDv9XumYb1tbxC+ZMe2tHAZUlc5f2qID2gudnngbsP7oYr2zq4Wpb/NR X-Received: by 10.28.53.65 with SMTP id c62mr301138wma.15.1524075315800; Wed, 18 Apr 2018 11:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524075315; cv=none; d=google.com; s=arc-20160816; b=Tv51aCgXT85C/YP/vdJ+K3rmeJhARlGd32WTC6Az3Js3F6AC4R/Y2qWX6Lw5qhNxSR Hlkrr/9bWy/bYYUzGgNhQWsMF2Mdfu3g/5U+aPLjctI42+bHZJCeNXKInUU5BN13A8ut kZthAfxYNIT49e9v++oBUVwkaJUAoJ97vaHr/cKD9ZUT190CZhJAXPnyjjtkVtJcozoy kq7cnHWEFcaVm8806L8QkqAx46y7D1wyxt2B7MF3wb7QZ+7OjePwOqAl0pdFl9n5V53n YE9c9UObzAHzjnEyggQ6htbLkbfXqoU3AWA0fJRrvA03BHyboJocMzvtO8napF/ZPAeD DRlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=2QmapFloj3Qj+pMwy1PCXKOXbCYRm+0DMYCJN0fLvOQ=; b=irnz+RUlP4W7zi+CsUDh17N99khn2bB5c9RQIQH1tsrd1pGT4KTozU1qu/EtC6unNi LyjW0ZIjCY0sAPwEELQM23dLbZYBBFhDEXsG41iw51eahc8qNRnwCW9X2bvzCDRBaKhG XcnF1sWxIxHwnfF3RWDb4zBkPYoubJU8efleYTwPds54F4m8j0Sp+qletPPbu1wIf/9+ ZdxINMHuK3iXp2+HPDiNtGwx5G0iJF/5Yi6BWf+PBX+roHyPElLWn6JJ5PN9IDEDgsbI cD0U6KUuM0RZ/9fI0MtaGtHj6q4fo6KJTqKhO+GkKr/hxxsqWc965OEiFX0AfuuNqdEn 4+iw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id h20si626211wmc.1.2018.04.18.11.15.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 11:15:15 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3IIFFf3007537 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Apr 2018 20:15:15 +0200 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w3IIFFaW015577; Wed, 18 Apr 2018 20:15:15 +0200 Date: Wed, 18 Apr 2018 20:15:14 +0200 From: Henning Schild To: Cc: isar-users Subject: Re: Build failure when cross building for armhf on amd64 Message-ID: <20180418201514.3d6ab66b@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <8c0abfaa-66a5-4778-8bc2-bab09490c663@googlegroups.com> References: <8c0abfaa-66a5-4778-8bc2-bab09490c663@googlegroups.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: ElmVeSMYoEeI Am Wed, 18 Apr 2018 07:49:01 -0700 schrieb : > 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. >