From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7198826225008115712 X-Received: by 2002:a5d:9550:0:b0:746:9d72:30a9 with SMTP id a16-20020a5d9550000000b007469d7230a9mr20640020ios.4.1678942151448; Wed, 15 Mar 2023 21:49:11 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6602:358a:b0:752:e91b:7425 with SMTP id bi10-20020a056602358a00b00752e91b7425ls71051iob.9.-pod-prod-gmail; Wed, 15 Mar 2023 21:49:10 -0700 (PDT) X-Google-Smtp-Source: AK7set8NTbYMWcMHTdny+H1YAP8gmGYB80CyMujNiwUzpK0s3vkpdfwrQYgoSyIwcLtSbzsRHLx0 X-Received: by 2002:a05:6602:130b:b0:72f:3256:2d26 with SMTP id h11-20020a056602130b00b0072f32562d26mr28232880iov.9.1678942150648; Wed, 15 Mar 2023 21:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678942150; cv=none; d=google.com; s=arc-20160816; b=PP62xuw2mjfmma4W9C8NDjSVPf95SiEcKLGYA6oJrwyXZVIb1iXBdS15NDo+H/ZeJc Ym/7XoB8m5tQ6HKs1GmUS5y06sZQwI4pEzOy9PxfO8oxK/m+FuKSI/ToiED/ws3e0Zpn GMYrMuQyYyMsBQBIPKXOTF8R+c1vnxV5iRP9D90mPXyyvhrCSdltxRLoUaWFLXlZzUzz IfwOCwB5qBTvGPK+QG1ANLlmjR/s1BLUk7SBieM0IWYQOgWxkSFbbgZAtASHJXcHQs3G cSH66ZzIgpC9koMWFgKToR3fFIiMo4nmMSxDMPMBxfH4Br4YnDRHEWo61gKv2wvOUHf1 E7zg== 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:date:subject:to:from; bh=HU+wabv8e0Lxnw0fq8hKNMuBghd7p7Zfq4pkXylbHGk=; b=lcGsgeAziBtZWfql9WpapZxKDBd0Jvd0qUp9wa6M5gUFL/Rz4StixY3TAxtLoMk/sh KdZHVDnM723vAk5incAXU/xSisnx0bbfMc3qv3uOxMBK+4toBuA7VHQTx8sOXEU+7MLs /LKve7cZRx3KPOCt11dvYFGI3j9YE+Lj/bx65hoq73cSYZq45YL1R7237Z9GmVPXXKaO kqYbEnOV4qXXx+87qQ+r9yAjmnk8y5G5Ryz+n4PWpacFTp6KnDnC3Wb135NgyNlASL75 OPzDDMNrxzkvE7xyzaDe/9IHdorRV7mM3PHacJtO/L/DAdUUv0HyjjTY+8Twpj2dZmjm cuhA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id t15-20020a056638204f00b003f6e4b44e5csi855056jaj.6.2023.03.15.21.49.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Mar 2023 21:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from home.localnet (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 32G4n8hk031225 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Mar 2023 05:49:08 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com, Felix Moessbauer Subject: Re: [PATCH v2 1/7] u-boot: inject debian multi-arch config Date: Thu, 16 Mar 2023 07:49:07 +0300 Message-ID: <2213612.vFx2qVVIhK@home> In-Reply-To: <20230211092152.949442-2-felix.moessbauer@siemens.com> References: <20230211092152.949442-1-felix.moessbauer@siemens.com> <20230211092152.949442-2-felix.moessbauer@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: DC1Z7jiYzt1s In the email from Saturday, 11 February 2023 12:21:46 +03 user Felix Moessbauer wrote: > For more complex u-boot configurations, correct debian multi-arch header > paths have to be set for both the host (~ISAR target) as well as the build > architecture (~ISAR host). In addition, the bits per long have to be set for > userspace ABI. For debian, this always corresponds to the > DEB_HOST_ARCH_BITS. > > Signed-off-by: Felix Moessbauer > --- > meta/recipes-bsp/u-boot/files/debian/rules.tmpl | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/meta/recipes-bsp/u-boot/files/debian/rules.tmpl b/meta/recipes-bsp/u-boot/files/debian/rules.tmpl When running in CI, patch v1 causes build issues with u-boot on some armhf (at least) machines. A piece of `build/tmp/work/debian-bullseye-armhf/u-boot-stm32mp15x/2020.10-r0/temp/log.do_dpkg_build` log: ``` # # configuration written to .config # make[2]: Leaving directory '/<>' /usr/bin/make -j 8 u-boot.stm32 make[2]: Entering directory '/<>' scripts/kconfig/conf --syncconfig Kconfig UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk.dep In file included from /usr/arm-linux-gnueabihf/include/features.h:485, from /usr/arm-linux-gnueabihf/include/errno.h:25, from ./include/common.h:17: /usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory 7 | # include | ^~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /usr/arm-linux-gnueabihf/include/features.h:485, from /usr/arm-linux-gnueabihf/include/errno.h:25, from ./include/common.h:17: /usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory 7 | # include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1 ```