From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7286543990069919744 X-Received: by 2002:a2e:be0f:0:b0:2c5:6cb:2e50 with SMTP id z15-20020a2ebe0f000000b002c506cb2e50mr1095131ljq.27.1697183978117; Fri, 13 Oct 2023 00:59:38 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a7ca:0:b0:2c1:86b5:dd5 with SMTP id x10-20020a2ea7ca000000b002c186b50dd5ls1275575ljp.0.-pod-prod-06-eu; Fri, 13 Oct 2023 00:59:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZY71wwAUt8Us8mkxY+bx2SG9hgfJedH70zLWDwbnq03zf4UvRDO/4XEPSdkG8v2WO9Kr8 X-Received: by 2002:a05:6512:10c8:b0:503:343a:829f with SMTP id k8-20020a05651210c800b00503343a829fmr29380365lfg.23.1697183975893; Fri, 13 Oct 2023 00:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697183975; cv=none; d=google.com; s=arc-20160816; b=Pn5hYBn0yH35Uzmk8OONYgVkGJZsC8JDMpADZiFuKuDvDD0RqxtZTnwhKuxZTi96qw 3UImnhMJxKDVSVhMk/g3ot+G7O77B/AWlel5Fwh2h3xWGpcjZnSWd5Tjid1q0BLlDeDu a8ciw1IdOZsaV2oTZZ5dYl3OaVYvhxkjZu8IM6zou+/Bdo3yb3SoYAObhhXAfiJutDOm +0jAwo7abZv7m8yDy02F43eezYOpZpuQax/MkuNBC+acpY6uEItMJ2KliVvgMAVCYjnM +5dGwuL2U4OwjdZoLWF34QbndV6Kt1CmR9kyKc3DkQZqmtmOAsL7PcsIn4J4lIPbQhR+ XlNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id; bh=KNR9U4rilq+rX7z6tlgKeYPx07Bygzs5KmFIs4Mw2P4=; fh=rIaIYgOmUtKY/TaIvICsBrwF36O+kfmW3BVQJsqC12g=; b=IsRzeFkt0DUElf9Pfku17Lr8E55Ou7HEIZZ0JU3kumeQo7Ggn+SP9uv5pNKcLK00th wFcpBrg6u9KMAsEpwUHMrP1tBmpE3Kgs1698gzZRlMKl9oc3XVpH4UArXVug07g2lGSS 3LM7E+49j6fDzkkhLdyhRbStoHM7Zstsnwb3D/VgtKTPw6+nEzApWDC4VVkBbLLaNgrM rPEahQxzdjO65oQ2/NZk97iGXBVklo8Bya5LC2Mk1nF+L33O346HpvpMgMx9CVpz7mWF D6PmfKMcHmg7vZPSlXbASwpcqUgpYjJNkGPaHmVt0Jx3eEa890oTCtrvE6szsZ4N/YZa rC1A== 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 u3-20020ac258c3000000b004fbcd4b8b84si941310lfo.0.2023.10.13.00.59.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2023 00:59:35 -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 [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 39D7xWr0004015 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Oct 2023 09:59:34 +0200 Message-ID: <23976b6d0b5b8d7dd9ca72dba4d9be80bd043b53.camel@ilbers.de> Subject: Re: [PATCH v3 0/9] HOST_ARCH, -native, riscv64, and all the rest From: Uladzimir Bely To: Jan Kiszka , isar-users Cc: Adriaan Schmidt , Felix Moessbauer , Cedric Hombourger Date: Fri, 13 Oct 2023 10:59:34 +0300 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (by Flathub.org) MIME-Version: 1.0 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: Xk5TnF+d7e+z On Thu, 2023-10-12 at 07:16 +0200, Jan Kiszka wrote: > Change in v3: > =C2=A0- fix compat arch cross build regression >=20 > Changes in v2: > =C2=A0- drop merged revert > =C2=A0- rename BUILD_HOST_ARCH to BUILD_ARCH > =C2=A0- add fix for explicit -native build in non-cross setups > =C2=A0- add missing debian-sid.conf >=20 > This tries to resolve the native build issues of the visionfive2, > fixing > some remaining corner case of -native usage: >=20 > If package A has B-native as build dependency but is then compiled > without cross-building, using qemu-user instead, it will incorrectly > request the build of B:, rather than B:. This > is resolved automatically now, and the solution is used for the > visionfive2. >=20 > For that board to build again, we also need to switch from sid-ports > to > sid, for riscv64 in general. >=20 > Furthermore, this reworks the crossvars logic to also account for the > corner case that a package is still requested as native although > ISAR_CROSS_COMPILE is off. While this is likely irrelvant in > practice, > the result is a more consistent logic of the crossvars class. >=20 > Jan >=20 > Jan Kiszka (9): > =C2=A0 Rename BUILD_HOST_ARCH to BUILD_ARCH > =C2=A0 dpkg: Drop redundant PACKAGE_ARCH initialization > =C2=A0 crossvars: Adjust logic to account for -native package builds in > =C2=A0=C2=A0=C2=A0 non-cross setups > =C2=A0 multiarch: Downgrade native dependencies when building in emulated > =C2=A0=C2=A0=C2=A0 environment > =C2=A0 meta-isar: jh7110-u-boot-spl-tool: Rely on native annotation > =C2=A0 meta-isar: jh7110-u-boot-spl-image: Fix native build > =C2=A0 meta-isar: u-boot-starfive-visionfive2: Simplify build dependencie= s > =C2=A0 linux-custom: Drop unused template variable > =C2=A0 Move riscv64 from sid-ports to regular sid >=20 > =C2=A0doc/user_manual.md=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 4 ++-- > =C2=A0kas/distro/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 6 +++--- > =C2=A0...{debian-sid-ports.yaml =3D> debian-sid.yaml} |=C2=A0 2 +- > =C2=A0kas/machine/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 6 +++--- > =C2=A0meta-isar/conf/mc.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 6 +++--- > =C2=A0...64-sid-ports.conf =3D> qemuriscv64-sid.conf} |=C2=A0 2 +- > =C2=A0...0-sid-ports.conf =3D> sifive-fu540-sid.conf} |=C2=A0 2 +- > =C2=A0...rts.conf =3D> starfive-visionfive2-sid.conf} |=C2=A0 2 +- > =C2=A0.../jh7110-u-boot-spl-image_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 6 +++--- > =C2=A0.../jh7110-u-boot-spl-tool_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 3 --- > =C2=A0...-starfive-visionfive2_2021.10+VF2-3.0.4.bb |=C2=A0 4 +--- > =C2=A0meta/classes/crossvars.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 20 +++++++++++----= -- > - > =C2=A0meta/classes/dpkg-base.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 2 +- > =C2=A0meta/classes/dpkg.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 |=C2=A0 4 +--- > =C2=A0meta/classes/multiarch.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 12 +++++++++++ > =C2=A0meta/conf/bitbake.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 2 +- > =C2=A0meta/conf/distro/debian-sid.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 21 > +++++++++++++++++++ > =C2=A0meta/recipes-kernel/linux/linux-custom.inc=C2=A0=C2=A0=C2=A0 |=C2= =A0 1 - > =C2=A0testsuite/citest.py=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 6 +++--- > =C2=A019 files changed, 71 insertions(+), 40 deletions(-) > =C2=A0rename kas/distro/{debian-sid-ports.yaml =3D> debian-sid.yaml} (78%= ) > =C2=A0rename meta-isar/conf/multiconfig/{qemuriscv64-sid-ports.conf =3D> > qemuriscv64-sid.conf} (85%) > =C2=A0rename meta-isar/conf/multiconfig/{sifive-fu540-sid-ports.conf =3D> > sifive-fu540-sid.conf} (76%) > =C2=A0rename meta-isar/conf/multiconfig/{starfive-visionfive2-sid- > ports.conf =3D> starfive-visionfive2-sid.conf} (78%) > =C2=A0create mode 100644 meta/conf/distro/debian-sid.conf >=20 Well, this now completely passes CI, so we will merge it after the weekend if there are no objections.