Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp319327rwd; Mon, 12 Jun 2023 14:09:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UPat49Fuil7xRKup5WNxh2ylFGjNYkzQ24ZxqwETWd3G5o5g4qUllotzhIHRSPIMgAfsf X-Received: by 2002:a17:907:9304:b0:96f:45cd:6c24 with SMTP id bu4-20020a170907930400b0096f45cd6c24mr10061198ejc.23.1686604169633; Mon, 12 Jun 2023 14:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686604169; cv=none; d=google.com; s=arc-20160816; b=Hr5N6fY8PB0NQlkfNC7sMEinJxKAo2BJVbAX/jtmpSVIqyKqNinLetpooIkKJd/QpK 4J0NI+t8hVDq/SpSrBEh37z3KGTQ3kybOGCGvXYVF3onkYOh4M3b9tfU4Seh/cFbLdxg z2VLJ5vg9IdgtNHd5SzYbFbO4QojwcMNmBykLSf7ZNGhzH1pDajA1qZJYpOcNA04pGxG M4AkbyP67J8aFevqJFzAnk8mYu07rateReIdp91uMnKe34JG0oDQcOakZIfj60bZdpEz IEU+nR6G3vv41Nbl7PyvFmlGFJ3heMaya5xGYY9sFmHzWLqCngSEDU+Jtt3f352Efrf+ h2FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VKUM3pr7w7Fxm3FvUAXN1wtBap20HsJzp5RLhQuQ4Nk=; b=N2F+xMw5b+wmQJHplnxsSxbyyVBXxtiVjKT7OYDez/bOGRZRZ98RsBWdyv7aKnAXYL h9E1IqFV3PfPTSrrz0oaxnv339dq5sRP4ClIcd0L4+P00Va6x5Sw9DhnOc5NeMkq/EPZ St7sf6imNdsz+8apCuP3cvEiRkK/9kS0TFOYyFoLBt6UmN6j1GPakZoR/lfwj4M43b7f TGHgfZy76MfuuRCi2i+GkjfI4GwyKXrdfBQRXHRnqNa1W6PnMXSlNSPj7E65rAb3AN5H n3j7hRaZRSyzFpetjJzTO9V5YjDlhwwP3TUsBcZgXRc+MXWrAy8GdZIUOtcO+hPfPC78 n6/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWZ76t1U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020a17090686d500b00978769bf9f7si4610144ejy.748.2023.06.12.14.09.03; Mon, 12 Jun 2023 14:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWZ76t1U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238588AbjFLUvm (ORCPT + 99 others); Mon, 12 Jun 2023 16:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237708AbjFLUt1 (ORCPT ); Mon, 12 Jun 2023 16:49:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EEFA1BF1 for ; Mon, 12 Jun 2023 13:47:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0C9CE62F2E for ; Mon, 12 Jun 2023 20:45:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 757E5C433AC; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686602717; bh=fUMXY6pyixSpxlndYjLR4VYqCyPqno/RiVwO5z9bIu8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CWZ76t1UE0jXqLcLWFJaQr3fM7S/jUG4p39IndUX7Nvpf5q3qh0YXTv8oWMJhLaPl 2zcynq08acBH3UHNqKPMFc4TqQJjWPOnRl17fAMTaUfpG8/drblQNso8l30gXHoISJ Gm+OzY2e98bRKztzorGGlwn2NQGk2z/xfZM8k1VY6VNIjG2slWonTKTP7fP+p+7pqW ugM0X62bm2hRYNgvX4WfZuBbl3P/E41U9yuiG8+5tCUjowmezPw7n3k5DaPkvDM+mL LuKyV8H+RxwvpwdUYeacTZzWCLrR3wGy2sPb2IEjD5PUqiFW21DkJKjg4nTPTgAwFV /9EiLZZgzkjsA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 2D761CE3A95; Mon, 12 Jun 2023 13:45:16 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 53/53] selftests/nolibc: make sure gcc always use little endian on MIPS Date: Mon, 12 Jun 2023 13:45:14 -0700 Message-Id: <20230612204514.292087-53-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> References: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Willy Tarreau The test on MIPS stopped working after I upgraded some of my toolchains to use the ones from kernel.org because the mips toolchain defaults to big endian, even though it supports both endians. Let's just add an explicit -EL to make sure it always succeeds like the kernel does. Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/nolibc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index 4a3a105e1fdf..1b7b3c82f8ad 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -77,6 +77,7 @@ Q=@ endif CFLAGS_s390 = -m64 +CFLAGS_mips = -EL CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all)) CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ $(call cc-option,-fno-stack-protector) \ -- 2.40.1