From patchwork Wed Nov 6 12:42:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Goodbody X-Patchwork-Id: 841062 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp496384wru; Wed, 6 Nov 2024 04:42:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWyV8Ool1MJEJuCu4CB7QBlJ0IQe3nF8U5B/bZIRpxfkDYF7/hMgVRbOM0ml02ZAObsYBp/xA==@linaro.org X-Google-Smtp-Source: AGHT+IFRThGWYudK3o8H1NGufaQEdD0+BCC0mg+8Wm15QxUG5Eafif1hsad24yutbQ75EC3FiwXa X-Received: by 2002:a05:6000:1a8a:b0:37d:4a7b:eeb2 with SMTP id ffacd0b85a97d-381c7a6d600mr15375234f8f.35.1730896963185; Wed, 06 Nov 2024 04:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730896963; cv=none; d=google.com; s=arc-20240605; b=gT/R4pjsQF0r5r971PEU0PzOJ7GHlTQmj9GiFyxxp5XUw7inOf4qmdA1X708TW9P41 XHndozy3s/q9BGiSwKos+BEQjgBMXY6bg9wPopinwFnXJNVaq3mfQ5I8beq3JIFHmY4E mS0XDhBDiB9g06woWShHqkUSZZTplBByiLfav5fIlEaXGbd0VtqU2W0X/14fHNjH7onx s3ta38pGgxwJbEdKGJ3j2uLouPltpAqOETs36zmTQXF3ykTaxg5vpV62hW0u0RALBmGt d2TTRiovHgR4Iv8fA8f0r+9rIJE9rwwdQWiHHPtUdlyu4l1Or1ZmHR80jFjZskFsn0bX ZX/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zDSmmQ7JpxYpExm7Nxqkz3oKn41m/E9kwpBlObVeFu0=; fh=gGdCIiY3oAFCHNdzkXt+0pz/LHe6XqVdYUr36BD2sDo=; b=iyzYp/rg/v401nOZWaztQhrF3k/jOFYBJMaaPMb/P37ZR0lSiCEnMN1ukTTs/KhBMN Yu3b5puqG81PqeH+6Dgbnhfol+0tFbzVyG5aJEjPP6XHaTH1V2jXA2KUtZOXl17euWOL EnSMbw95z2Y+xfvA+OaNuA1TMoHhOYndawlNT1Me0uoByMp1K69goBxj02siG8VpUiD3 HxFh6GzT1ZOF2o2LtVYPh6RWH4TPnanN+L9KEEt2AYARK48nyWUl52P2rvXVielQhgKq 71IZ4IzAjXzpL1IUxuDGPzxXEPmrAxdTxkcpYaRtw2+jdC3fgzb6ShGbeBH8npHrgttE rIrQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OrJLQKwx; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ffacd0b85a97d-381c11ca67csi8834976f8f.791.2024.11.06.04.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:43 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OrJLQKwx; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E77B6891F1; Wed, 6 Nov 2024 13:42:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="OrJLQKwx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4E85E891E1; Wed, 6 Nov 2024 13:42:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 6A64C891D1 for ; Wed, 6 Nov 2024 13:42:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andrew.goodbody@linaro.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43161c0068bso56071515e9.1 for ; Wed, 06 Nov 2024 04:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730896955; x=1731501755; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zDSmmQ7JpxYpExm7Nxqkz3oKn41m/E9kwpBlObVeFu0=; b=OrJLQKwx7fM0PiKxojaZNbwfLvruqJR6lXpooUH2SM9yEgD9oyp+l6yoZSAzNMhgXY 8hJOMNmWPk5NYGOb96UWIOHgwfqSZRxMLgCh3j4AptHFpZdhNpR1J6PQZoOmraOIiZ8A XtRJTgt7qqNHqg16QgkjlHD3wCtH66cprREsGLFfUZD5ZyG94dx4OPas+I9Va0cURNHj HeUhRGfH01ENicIY5pCg3jYg2StXxgmi6piSueX1SW4MRbE74NxeOitoFRyNmbLRcqpJ PCVae/xIZ6YBqKuMrJBbhwyxVP78yT8gmWMfIwqzvOK18PeFX2Uz/XSn76KWLPOVXyxS 9oaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730896955; x=1731501755; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zDSmmQ7JpxYpExm7Nxqkz3oKn41m/E9kwpBlObVeFu0=; b=RcLAI83BgnhArdkVvOdGKaFQyRabKy3hvAgKFdWcVNYbcAn5ZdGgn0YNcD41vMwMap NdCsq+A/mROVAB4Yebl5aylA4gyyzJqeCYMAQV5wWc1acBryfS5jUVBxPVtKNkIOEcq9 kRpPdEnpAXGph6R4q6MWZ50UdTso2ole4QAv8FfKgxb7D71vsN2/3iWysFkePUHYCFBw xc+ATU8nyKYj/Gvnsuvq4DEyU1cY+hdNOK7wH2Lz1q5Y/i/eYtT4Fd2Mr7xN9C3XzJ9f lqZZExTy4qmqFdBS2PJvEY+R1DZ+CqHV52OoOOPt+WMSBVbE5erpHzpOhPHd8ygpHWSk icOw== X-Gm-Message-State: AOJu0YwX4hlHGwNcgIYcBYzIcEtIAWdklR5K9IDoTyoEjw7TI9NyHA6x lm2TJ0ZjIW540xMr1gDbHGbqgPiv+eSMCfrvmJ8R9QuRmEbhWYdJCaFUzc8r3q6UDFNncAH18cA kk48Vs7Bo X-Received: by 2002:a05:600c:4ed1:b0:42f:7ed4:4c25 with SMTP id 5b1f17b1804b1-43283249aa9mr170415065e9.14.1730896954665; Wed, 06 Nov 2024 04:42:34 -0800 (PST) Received: from artemis2.elfringham.co.uk ([89.101.241.141]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c116c13asm18884765f8f.109.2024.11.06.04.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:34 -0800 (PST) From: Andrew Goodbody To: u-boot@lists.denx.de Cc: Andrew Goodbody , Dan Carpenter , Heinrich Schuchardt , Simon Glass , Tom Rini Subject: [PATCH v2 1/2] sandbox: select CONFIG_64BIT for SANDBOX64 Date: Wed, 6 Nov 2024 12:42:14 +0000 Message-Id: <20241106124215.677519-2-andrew.goodbody@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241106124215.677519-1-andrew.goodbody@linaro.org> References: <20241106124215.677519-1-andrew.goodbody@linaro.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to static analysis tools. Signed-off-by: Dan Carpenter Signed-off-by: Andrew Goodbody --- Changes in v2: Resubmitted by Andrew Goodbody with changes requested by reviewer Moved select of CONFIG_64BIT from SANDBOX64 to HOST_64BIT as suggested by reviewer. arch/sandbox/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 1c8353d615..db29ca14bd 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -46,6 +46,7 @@ config HOST_32BIT config HOST_64BIT def_bool $(cc-define,_LP64) + select 64BIT config HOST_HAS_SDL def_bool $(success,sdl2-config --version)