Message ID | 20230803-nolibc-warnings-v3-13-bcc1a096ae02@weissschuh.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp990395vqx; Thu, 3 Aug 2023 01:16:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlE4ajzMnQwIiNVPUTOid+Rc+QzhomMTm0M2N2p8K3UkUIkPJH+9TbndgUxIFQL0YivbL9sV X-Received: by 2002:a05:6358:52c1:b0:133:b3b:ceb8 with SMTP id z1-20020a05635852c100b001330b3bceb8mr12660992rwz.20.1691050596687; Thu, 03 Aug 2023 01:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691050596; cv=none; d=google.com; s=arc-20160816; b=pSzhS5sEu6OVWtipDkTt19y/ZypMUx/CLZOtcBN/9YbOyN4EL6VNeILyH5qBaezqWU JS9VEvbM95Y0Zb3NNg+0TLmbiLdtl1scbqOr8tsr6XYPXMhFMqJzr3pq162+ACEkhy/s E4QXfHTwjSq4cO7SB+Z8PqRIhQw79rYgyDgpqi2Q3Gnrl5PDHgtr2HptRpC+GsjVan1H UofhqyjRVKV7cU1zvbjhmg7maYTt7deF6kaAUS4tu+rxUlz1SAltXjlFmgM7cX+jBLgV rYU1hfSC/c6pxwAPBe9iDhXdS5Bm2PWfou+5oixc76Kp4Zz/vIEnr72eIk8gI77jTTBR sZmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ZjdLPk3CtrWGKM6wEX8AGYd6dWeOdPiRLJqNtyrD/L0=; fh=UZfhiU2pgwvZdBOe9fFEhnfTQX0/6KsvXKQubWsfhik=; b=kgTNaCp2Gqnb6h/c8uBB5FAm4bgLQMX/UJQoX1RIDh+aqtWqIrpe1jhzidEll+j8/P IC4oiwSg1tghgCUw35WpxZ/ZquU0FCNoyzdb7vbC9dkDjKT7sTy/JmCZQV/UHqpuE7bg bjnQlX4yCp0U2/hsWj2sXDa0SEUNtLQY4IJYBCKacuiJsavzGtu3fNia/O/oTSKbamAk zgnq+UQ+e14WdcotTkqEDnfjNdZaj21UBScMm//e2g33CZEwiuNApt7az3LsEI8P/htY YUef435IM3G7MC/OXNwSNqhiNnxBqtbxyaaHTRxugK7I60R3Jhc91XW3Pg9X76sSWCaj Ohpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=cAcoN1BX; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i132-20020a639d8a000000b00563fe2c1159si12070735pgd.467.2023.08.03.01.16.23; Thu, 03 Aug 2023 01:16:36 -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=@weissschuh.net header.s=mail header.b=cAcoN1BX; 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 S233722AbjHCH3m (ORCPT <rfc822;jeff.pang.chn@gmail.com> + 99 others); Thu, 3 Aug 2023 03:29:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232445AbjHCH2z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Aug 2023 03:28:55 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6F262728; Thu, 3 Aug 2023 00:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1691047729; bh=kVg+ddk4XYFgD37LXo7XQQcjwPOqCjh3CHvqXQamr2w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=cAcoN1BX1ObfWjGCv6phvqKsfpgbnBqk3tMnlbPkdGwu2L4QFCpSdIQGLLSQYKubB Ul8HB8cJUY8ph5VEBod4gpZGyybH2UN4b87Ya3o3Fhhe2xrFMvALRdtcKv34VtR1lA I862uwOf/t2a8Pmlvyioq6rGxHahJFj1mSBpuDy4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> Date: Thu, 03 Aug 2023 09:28:57 +0200 Subject: [PATCH v3 13/14] selftests/nolibc: don't strip nolibc-test MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230803-nolibc-warnings-v3-13-bcc1a096ae02@weissschuh.net> References: <20230803-nolibc-warnings-v3-0-bcc1a096ae02@weissschuh.net> In-Reply-To: <20230803-nolibc-warnings-v3-0-bcc1a096ae02@weissschuh.net> To: Willy Tarreau <w@1wt.eu>, Shuah Khan <shuah@kernel.org> Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuan Tan <tanyuan@tinylab.org>, Zhangjin Wu <falcon@tinylab.org>, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691047727; l=1061; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=kVg+ddk4XYFgD37LXo7XQQcjwPOqCjh3CHvqXQamr2w=; b=me8m7eaLVGWZI/dUtccVBUgYv/VDWJvY1LHvNTScpcUJGo0yI/YQWu4XEiTZ6NCI4kRNfYs19 a2t59EVbMxwCGLQIcj21Hy1TW7EoZMInqcHd0nDCRNq580DBCUi/nuV X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773195070516903671 X-GMAIL-MSGID: 1773195070516903671 |
Series |
tools/nolibc: enable compiler warnings
|
|
Commit Message
Thomas Weißschuh
Aug. 3, 2023, 7:28 a.m. UTC
Binary size is not important for nolibc-test and some debugging
information is nice to have, so don't strip the binary during linking.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
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 f42adef87e12..b82d29b6c37f 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -82,7 +82,7 @@ CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR) -LDFLAGS := -s +LDFLAGS := REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++; print;} /\[SKIPPED\][\r]*$$/{s++} \ END{ printf("\n%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \