Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87CACC433F5 for ; Thu, 3 Feb 2022 17:12:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EDB2181F0B; Thu, 3 Feb 2022 18:12:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ofgS5ewb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB73E83388; Thu, 3 Feb 2022 18:12:28 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3CD138197D for ; Thu, 3 Feb 2022 18:12:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id e16so3199239qtq.6 for ; Thu, 03 Feb 2022 09:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CWi03jlhw4KF085HxfCh0pELmAy9V4k8KKjj+I4Gzq8=; b=ofgS5ewbL5ymU7wUQve4n4DoN0pmAxyB1RVZxW/16cwyezzgr/GkIyf1978w1YRcOD PMdLhYO3LThj+n8JmlgBzezQf6D33ZarfXj279/IoZ/YO/o/RwQXe6SMLHBZRe5V9ca4 7ztYbUbqEeqiEflMBShKcWa8T3E2I1X7viaY8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CWi03jlhw4KF085HxfCh0pELmAy9V4k8KKjj+I4Gzq8=; b=FWUpHh9yagNpsP3pzKGiCuEhrSMXXk7B420S3UNifWAbnVXPxXKfg7Aq5vjAUpRj2G ADZil7jt1P3yYR3VOTN3RiKd+qmrEmDRoLlS90Yo4pEPqQNW4vTx4ejtgHvXXZAV1TCq DzMEyExdh/7XA/FCc9OPj6Qqf5EBL6RkW6iCSYAVyrCJGH1yp0nRQcGDmzdevDZQrjcS qS2Rz4P79RU+8jYKt5xJj16hbMhyiDabjJUBCmShaEbBCQpviLAZrR+YIGKYDvrA604n LSePJF77km37qAOyJQSfKSq7Q0reOX/v+kZO2XyyKpTqf4Ki2HvEXUW5kWKR7p1XGPMh 1fXg== X-Gm-Message-State: AOAM532pjm+15sxPHKIpjAAKzkI8Lg+6BHSfQRU76dEtAU7hN2s7JTVY EmJRSRshPF843v/XGvtdXIJlvQ== X-Google-Smtp-Source: ABdhPJxntRlFSy3667znEMLhWt0AjUjIuldN/dSM7OBiL3dkEbKGsxtoqrCJU9e5uYuLyg9wPOukAw== X-Received: by 2002:a05:622a:494:: with SMTP id p20mr13613007qtx.652.1643908344973; Thu, 03 Feb 2022 09:12:24 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id c7sm12556125qtd.12.2022.02.03.09.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 09:12:24 -0800 (PST) Date: Thu, 3 Feb 2022 12:12:22 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt Subject: Re: [PATCH v5 3/4] sandbox: Detect the host bit size automatically Message-ID: <20220203171222.GW7515@bill-the-cat> References: <20220123195514.3152022-1-sjg@chromium.org> <20220123195514.3152022-4-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eJi7QtyMIW90cHXA" Content-Disposition: inline In-Reply-To: <20220123195514.3152022-4-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --eJi7QtyMIW90cHXA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 23, 2022 at 12:55:13PM -0700, Simon Glass wrote: > At present if you build sandbox on a 32-bit host a lot of errors are > produced. This is because CONFIG_HOST_64BIT is enabled by default. >=20 > It is quite annoying to have to change that manually before building > sandbox. It is also quite confusing for new users. >=20 > Add a way to detect the setting and add the appropriate > CONFIG_HOST_64BIT=3Dy or CONFIG_HOST_32BIT=3Dy to the defconfig, to avoid > this issue. >=20 > Tidy up the Kconfig help for the above two options while we are here. >=20 > Signed-off-by: Simon Glass This pretty reliably fails to build for me with CONFIG_HOST_DETECT_BITNESS=3Dy resulting in CONFIG_SANDBOX_BITS_PER_LONG not being set. It's as easy to trigger as "make O=3D/tmp/fail sandbox_config all" for me (over on bill-the-cat if it works for you locally). --=20 Tom --eJi7QtyMIW90cHXA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmH8DPMACgkQFHw5/5Y0 tywG9QwAjavxK0HGmDr1Taes/QhHSJuM9WzEOOMeKeft+ldyfslfWbGvuSs+GOdU xmMrl2iJMA2C40iwND9VwhkgQAuKbgCTy0PXgsxO8ATz8j6ON1UuKE1BSnDhRBlk 4+ovZcJXcCaaE3mJ6lBiObzD1N+OA7frcSxWSAttMya8jTxIcQwz0/vYpNVH5kYI EuRlzti8ql4QA7KR/MrXTMtM3OXSmB6IKwoT2m+wAF8lZ65vY05Ur4XIwSVEYyPW IVCkMTVjdIyYcRi5nrMFok2iurLPvlXVnZuFcsjHnkR7IDE9x+CdGl98u4Ud4RYy rdqude/Y/c4G6uK05Y3eTvMUK/28r8yYzpxUWaeiiU7BSfHLz6wrztKqoFa1D7sZ 3b5ub4MWoVGpABsmzO+9SmlV5XWn5vXAlzzON/D6PVR0iogkgKXuoURG5Lc5ENrS bXTOw0dpFmPK4KMb4GyA+CAydH0Hdf3LUD1rxshUa1PO6Zwm8Af+3dbgmE+FJ8dZ 6V5SZtcR =5fbA -----END PGP SIGNATURE----- --eJi7QtyMIW90cHXA--