Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1108229rwd; Thu, 18 May 2023 08:04:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74UPzKBhAeMN9TQwEwaREG59iGGKtoUUXfjaVXsOppmL3WenxYlGOu3/CatSo9GK63irbx X-Received: by 2002:a17:902:f809:b0:1ae:4d1c:129f with SMTP id ix9-20020a170902f80900b001ae4d1c129fmr2488331plb.54.1684422287813; Thu, 18 May 2023 08:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684422287; cv=none; d=google.com; s=arc-20160816; b=J+em+UiqY59HNjo4LyyH7vaHdkzVEeWa0zs4FwMahf8t85FQwNecedxRqi9B6/KMBe 3A0gko4FxMRw+gtkgnJ56boHPyqfiZgI68W8cLGZrwiilm+ZLkQqW9tL9Lzbt9We2jkJ DFduoDzU7CRT/357om9+bECb1bniPsgtwxBsSSKcubgbd04KaV6cGEWuFhjuRlVnU1+o X11irWS76toZNUmoYJo1ARn1KL9qLCvC989XHC9ftUoKBBrrcBUckc8YrZw/R9gxM2s1 VXf3XGkT8S2lsXfxrNxec5tPniwLFllJ21ncZFYmuvn2CC/azDPgQZz6+boc/p5mj03j hfvA== 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=OHT241zvkOlutA6+KSFghNG1/fK6MWuUr0tRcHACxo8=; b=iDBwogmE/EBOq4EBDHE1yDO+domcc7wWnqtGUR7pu4umNUYhgt59iPJXrB4Q1P3vf0 PNiY9BH6ftgYGVQ0epytySqla1w4x77jzqdymPR4qacoZbun2/2CHl+/Wx8c8xtHe9ih fhPFkGBtcH/nMjDZlfdtZYScZIDMolVtVPukgySNBeyjJTE6aBTvCJiOChsJehAU0pdi SDfpfHpnuzGQMZ3hKcHn5pKuXYjgg+KpKkGhvSFGoyMKM0bJq9iH7+QcEsnROJZErj9f 5HSSYt4UBfaG0fouKVZPE8mFFL1rGUXTkBHABvESIldmmMayZct9uSkJRMF63Ki/dguq 5Aig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nIszTSbi; 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 a11-20020a170902eccb00b0019f3064da41si1532429plh.383.2023.05.18.08.04.32; Thu, 18 May 2023 08:04:47 -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=nIszTSbi; 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 S231749AbjEROz2 (ORCPT + 99 others); Thu, 18 May 2023 10:55:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbjEROz0 (ORCPT ); Thu, 18 May 2023 10:55:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E74F119 for ; Thu, 18 May 2023 07:55:25 -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 3585964FDB for ; Thu, 18 May 2023 14:55:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 831C3C433D2; Thu, 18 May 2023 14:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684421723; bh=cN3q9iCF/gJ/uPtCwHUQPd6CHzRDYrNdYVOXcOrOK64=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nIszTSbiME0wYc4lQI+izSXixJxHzChuLf1c44BLHb0D/luq4shcZvg3I3ene9INJ W7nZZsO8avz6UWnWwKnZ/MZIpC+GSkFTdu+8ix8oN1Ooubl9aPlO0k316F5C+Xtl56 f4WcwcAR2W0vcwTWrnd2IM7rCO6jn8Z2Mu8pPokfpNT/MHgv8hjwWuYLXHu0WHFa1K FIWjcWaGyfaxECLgmLQKnxLe0PclvkpCtPsmeSrWhsfn6fOzCGsN7BUUq0FqnjNcLh Ax6NSN+g5QQ5ytfwCRf1WwPZHwzWhJqop1vBBtA8d1THkhjadn6IfRNCsYUjrivOmi noHbkT1fB3jOg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 17F46CE0FED; Thu, 18 May 2023 07:55:23 -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 , Vincent Dagonneau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 03/15] tools/nolibc: fix build of the test case using glibc Date: Thu, 18 May 2023 07:55:09 -0700 Message-Id: <20230518145521.3806117-3-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <4817a4dc-69e6-4937-84d5-f2f630ff646c@paulmck-laptop> References: <4817a4dc-69e6-4937-84d5-f2f630ff646c@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Some extra tests for various integer types and limits were added by commit d1209597ff00 ("tools/nolibc: add tests for the integer limits in stdint.h"), but we forgot to retest with glibc. Stddef and stdint are now needed for the program to build there. Cc: Vincent Dagonneau Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/nolibc/nolibc-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 6f2f109569a3..1bafbd8da6af 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -34,6 +34,8 @@ #include #include #include +#include +#include #include #endif #endif -- 2.40.1