Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5898507rwl; Mon, 9 Jan 2023 01:05:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXtMKZ0TegtR4N1rSgj6dnDjKR2FnYS5SfGqfdolvwPMboTXzlOx09ZeIaTRjSMNvSPYOzDi X-Received: by 2002:a17:906:6dd4:b0:836:e6f7:8138 with SMTP id j20-20020a1709066dd400b00836e6f78138mr67376861ejt.13.1673255123361; Mon, 09 Jan 2023 01:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673255123; cv=none; d=google.com; s=arc-20160816; b=D8GnQg7i9ty7Z8L6xAy/kibcktD5W936lIc610qDX1cxcw4kMbmMG78p68r7Zj/qAe owUanJCu0DYYsnpkNMNoi3lJXU7kkVLtXTpCcJdYnNDi5megzgOiCUakBzEtqHg4Q4oW RO/mCBR5TRy/EyC4vfGU0+dXLZGEnjQJUxKy1W7xf7r8te8QigK5ep0aVWft2112xI9D i57dJ1otxz7u75CX5c7wvcS8PeOPKkRYKadFqUn4eRznR1w8t9h+wa4lLW/35+ZfCCgR gHf4QeuWB1Hg5yrtmMJqcRJerVT88nwGImTI2Z1BHiZd7Y4h3qd7So1gncGZN0M9S/8l 2gzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=08o7JTZLl98bOpu8138k5Vf7mbyzaBNozuZNQixoBEo=; b=CgmZllkRES1gPsZdcw+6+WLkSNgw3mPwNxGn1gQrFh/19Vh5FG6d062awcNI3tMV2R SJxM3bHfpdjJA6VRft//Cmj9JF4LW3NuEsA9wI+Gr9/5IJ6D56iYgZyHW2EffCsYwKbh 4xMvyAw33fdCk1WfhvXDnmX/2GSmn8jyeQ5VgxS8kjY0hBWKIMOf7Gz7UA9vYzdKz9mS CfHYDquAN/AaFIGcIPWXa3xlLzcOOOyJwvbvSeSa/sRNUpsWBTcPdivMxh0hhgpH14uN S+rFvSUhPKrDc/+kpmAfyWh6HQ9cxBUpd2N8igqWKT+21M516sxUs5z8LLx/NSs4ABaE Vbkg== 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 hc41-20020a17090716a900b00840f80a0b03si8206654ejc.118.2023.01.09.01.05.10; Mon, 09 Jan 2023 01:05:23 -0800 (PST) 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 S236307AbjAIILI (ORCPT + 54 others); Mon, 9 Jan 2023 03:11:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236623AbjAIIK0 (ORCPT ); Mon, 9 Jan 2023 03:10:26 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6426B13F3A for ; Mon, 9 Jan 2023 00:10:05 -0800 (PST) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 30989Q1r026646; Mon, 9 Jan 2023 09:09:26 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Sven Schnelle , Willy Tarreau Subject: [PATCH 4/4] rcutorture: build initrd for rcutorture with nolibc Date: Mon, 9 Jan 2023 09:09:10 +0100 Message-Id: <20230109080910.26594-5-w@1wt.eu> X-Mailer: git-send-email 2.17.5 In-Reply-To: <20230109080910.26594-1-w@1wt.eu> References: <20230109080910.26594-1-w@1wt.eu> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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: Sven Schnelle This reduces the size of init from ~600KB to ~1KB. Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens Signed-off-by: Willy Tarreau --- tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index 70d62fd0d31d..71f0dfbb2a6d 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -64,7 +64,7 @@ ___EOF___ # build using nolibc on supported archs (smaller executable) and fall # back to regular glibc on other ones. if echo -e "#if __x86_64__||__i386__||__i486__||__i586__||__i686__" \ - "||__ARM_EABI__||__aarch64__\nyes\n#endif" \ + "||__ARM_EABI__||__aarch64__||__s390x__\nyes\n#endif" \ | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ | grep -q '^yes'; then # architecture supported by nolibc -- 2.17.5