Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp318953rwd; Mon, 12 Jun 2023 14:09:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66D/dWVsBd7HF0oIqxAxgqZ942+AK//oTZYt15bl52jzCOMGaemKzWybKJ8NZV9WAzq+18 X-Received: by 2002:a17:907:7f8d:b0:974:55ea:1ad9 with SMTP id qk13-20020a1709077f8d00b0097455ea1ad9mr11958691ejc.46.1686604147372; Mon, 12 Jun 2023 14:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686604147; cv=none; d=google.com; s=arc-20160816; b=boSSSIXT1SArkN+svh0g6pIQJhAciXNxZGMLymYdw7bfQ5Rnk/UrdpyYhkPjCchn7/ 690pb16+j58RXEBn/9jZwYjZIr7ss+Xz8/i4op+32ppW5biZFIr0eB95MfLKgXPZs+DB PMKh57pC6Qe98BuyGph0Rf+DmPOoyk+7/2LI0O/CpeaPB4MC02uuvx0wGb84dkY/q71W cQlVSVraoCIu+z3RJslE3Bwhig6ADughDR21i0j+GAOK5S9b9a2wxrAvf/v3xeizJAIE 7gbZ7BbCl/fQORF6KHfcDqjmikBkL3NIYEtawy0wdt86SOkX/AgftkiwAaDxwtbCIYhk T0MQ== 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=l8swfxNOqYMpoKFlWpksQ9ShhQIPhQf692BTAiUNRxk=; b=xrKJkGCbj8V/MrJx/9RsZPzFDrK9RiJvLZ1o80FswYd/pkDrA+SEw3BmwwRBiQ4v4E EOabvYPibH1xx0B5fQ7QEkBUgA34O2g0IianVzxqNvcIVZPVjNTGz9k8BRI7bnV8+kxG +NKFD11Q0HhZ9ffMjBGzSOQQIhN08W8IYRg8U4KlU6YrmhcAbo1vgOqcwxRDh5Vu65ze U6/UL4IWhjL3Mmmrx1LRBkISBM4Pmwoh6VUk4epH6xKVfE/OoD2cyxg/2xrM/NRuJCQO kL0/x8kIbTqerkYZBLjtL2aMBL/E/TnxG2Niqi+lgcod7sNH56jDJhDNaEZaWbPorcM2 23Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BcCBXjUc; 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 w6-20020a1709064a0600b0096f4237cc02si4325651eju.376.2023.06.12.14.08.42; Mon, 12 Jun 2023 14:09:07 -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=BcCBXjUc; 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 S237821AbjFLUsE (ORCPT + 99 others); Mon, 12 Jun 2023 16:48:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236337AbjFLUq6 (ORCPT ); Mon, 12 Jun 2023 16:46:58 -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 1BB232717 for ; Mon, 12 Jun 2023 13:46:29 -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 73C4762EFA for ; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AD2AC433AA; Mon, 12 Jun 2023 20:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686602716; bh=qXNtbl8qeb3lbiMWDYS0tmfhxByKNfAQg29LsRRZRZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BcCBXjUcDQw7GvBvkqk0czuJCHO1gukX0JAC3d/WjGUujdUEvo+WDUTQo5twRklUw szkNyVBvvA4QJI6yyxu6qBZoW1Env4oGVEzi1U4Ruh5uGbvhLiYe8uasqLHWDa0gBu Bj/VEHxQXlZeE/pTmjjvru76AxG4n3a8P9fHl/je5VYCCOvwo9m8R09RfLXq9nVSAJ 2YhMfzLuGe4mfdc3igIJ7W23UzwVR0kVre9jXcAQK5tKbSr+Z28y0KDNzaqQEFTsiZ BzPfa9nOr6mgYY/f6e0Y5f69lbem0B9GMuEwLS6JImoL6tmkgqOabmqPbNZoKIcECL GnjPYOlViTD7A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C416ECE3A51; Mon, 12 Jun 2023 13:45:15 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 12/53] tools/nolibc: validate C89 compatibility Date: Mon, 12 Jun 2023 13:44:33 -0700 Message-Id: <20230612204514.292087-12-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-Type: text/plain; charset=UTF-8 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: Thomas Weißschuh To make sure no non-compatible changes are introduced accidentally validate the language standard when building the tests. Signed-off-by: Thomas Weißschuh Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/nolibc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index 0cbe13809b37..423d22f353a0 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -83,7 +83,7 @@ CFLAGS_STKP_i386 = $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86_64 = $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86 = $(CFLAGS_STACKPROTECTOR) CFLAGS_s390 = -m64 -CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables \ +CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_STKP_$(ARCH)) $(CFLAGS_$(ARCH)) LDFLAGS := -s -- 2.40.1