Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3153192rwl; Sun, 2 Apr 2023 01:16:47 -0700 (PDT) X-Google-Smtp-Source: AKy350Y1SDNXgBpHuYU4ObV7Bc9Scj6wLEaIayfVc50XXbPqiMYf63LUQlFqkvOk/hWG9IeefOXX X-Received: by 2002:a17:902:f543:b0:1a0:49eb:4cb2 with SMTP id h3-20020a170902f54300b001a049eb4cb2mr36741517plf.13.1680423406906; Sun, 02 Apr 2023 01:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680423406; cv=none; d=google.com; s=arc-20160816; b=KYFrA7DrIoWJYeJwBYisJaJo3NmP+7hcYfAQ52/6XLDxZ3s8mconZKE/jK3SeSuMY/ B082+amdiDM4R+3d/ZOY/s2UaF1FJnuHqOB3SKopzQSPoKvWg+WngQMt7ketuqA6fDuY LFh2F6yFIEm9ZXXgDkjhtIuqjPdULhU0ReBBaj6Sl3XYymrTjah1/tMiYCUoLI8sgHs/ 2HInYR90VlDIq0gq01wKe8fIOo1WV5chUAohftr4f9zLwBkHwfhKCgYNi986KWuvlPnJ Sfk77+Nm9FJFPf/Ss7HouKcH8M2lTdyY1aluIU3QnO2vuD0oZpjO28ASmVjpF7CfX6Xs fgxQ== 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 :message-id:date:subject:cc:to:from; bh=iMbuCm93THJvHuA2FbJ3+XeAVFF57L4rnYmZtLA7Iuw=; b=tNeu2nlkbjP7TNeGAw2ULsChLkrCkbEPTgxDqu3Ro8GKeXmPJinXPBsnNp6HMbDGvz IRrrjY7jj7jPmem88gB+sT5law8hFZ1mceaVaE5wi5Mvve3/796qmEV8j7z+kaVRv/pW 7Y7cQOMKefvJmtFEQdK3ON8DLD5Tvs9BODGcCS5O+r7i3Z0NhFkb/5LcNQuNZnqLdshQ XgX8zdX6mATVDXTn1dXyRUCK7Gd/aEhwYbolGyWnw/LvM9yuAWF3Oq5BKa35IsfLw2rv IycJM6Lw0U1vCUX3y0hLIy/MUpVJbltr6pS4SVxunUufVR0eRdgSMy5UG2dceTKDeh2o 7opg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a170902ac8800b0019ca54dd2cesi5888694plr.467.2023.04.02.01.16.35; Sun, 02 Apr 2023 01:16:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbjDBIOM (ORCPT + 99 others); Sun, 2 Apr 2023 04:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjDBIOL (ORCPT ); Sun, 2 Apr 2023 04:14:11 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F77A191FF for ; Sun, 2 Apr 2023 01:14:09 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 3328E20h012122; Sun, 2 Apr 2023 10:14:02 +0200 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux@weissschuh.net, v@vda.io, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 0/2] tools/nolibc: assorted build fixes for nolibc-test in rare cases Date: Sun, 2 Apr 2023 10:13:55 +0200 Message-Id: <20230402081357.12078-1-w@1wt.eu> X-Mailer: git-send-email 2.17.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 Hello Paul, please find in this series two small build fixes. One of them concerns two missing include files for building the test against other libc (at least glibc) since we added the tests for integer types and ranges. The second one removes a single occurrence of a variable definition inside the init statement of a for loop that breaks with older compilers which do not default to c99. They're still convenient to test the portability of the lib itself and I continue to use them for this purpose. I consider that there's no rush on this, since these issues only affect developers adding test cases, who should normally rebase on top of your dev branch. So it's fine if it goes there. Thank you! Willy Willy Tarreau (2): tools/nolibc: tests: fix build on non-c99 compliant compilers tools/nolibc: fix build of the test case using glibc tools/testing/selftests/nolibc/nolibc-test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.17.5