Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5344768rwd; Tue, 23 May 2023 23:47:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6PF4TfLje32iMqX3Fst+sv6gGWArRa8Qh9cDRF6u9AN5k3ZhLQ/v7uUW0RKm+VjA1RDEfq X-Received: by 2002:a17:902:c20c:b0:1ac:3739:9969 with SMTP id 12-20020a170902c20c00b001ac37399969mr18489467pll.48.1684910877119; Tue, 23 May 2023 23:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684910877; cv=none; d=google.com; s=arc-20160816; b=Ei7X/jjeWErUgnNHsY6iefjkFCxMrhSO14BVejjF6jjXjNyB3/zlcmOUBIQLO7q3Bx 5lKXiN5bPo0z13KjjEM+l4WX8h4PJIF7enH92m1OnW8D3nbebVoclQjbpt0BWRM5gpkE 4Fgq/Nq87Dyg1KgdQOC+rZv+R8wqoaT821hRHuCMJZj7jGRiEB13rk5DIQYRv+w6ueAc sMZsz3K1q/F3gNKNwVINvWByMx0Ip109MBGdughTuHkL/kPMKl7Iqhi+6cDT1zixKZfA 0z0sLXYT7usa0GWqamLO2Y8yfdEe2LJm7xkT6S26MrDOoE4DAkzH3RRaQ5K8jRYjpXoh 4KaQ== 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:dkim-signature :from; bh=ido2vzGj/m6/OAgt7G+Qf/rB2+Y/fgopOGDpEBbTvck=; b=qd0yKdgupfyvJfZYfEDysy6i6xyqnoOLDfwky5owgG7FIIG7XKGgIMnHqkWmAwA4ez 5y77ANpfmSbaGpsxg+WTU35P8x2A7elAeRnlcDmj4BvSr/lj/EyS3hqyD+/MwsgO0OeM 3HrlAvT8Byh5/Omjq6UUVZ1nE/7pGaAndizIoZmzoPY1BexYVWPeV+sFN0KtfqnAp2c6 kLCzujPTWGXDlnlmEkdjdvCejp4g+C7xWKsC9AJdKezYmkWkr8yMRwudbGR4Rj+GDyAh FTe/DEk6eI9hl/30rO70U5mJ8jrylbSmfi7Gi4meiJTrbTrwmEjw+b7FmSXzMcV5UckH OAvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=DZJdKNn9; 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 y18-20020a17090322d200b001adfe95b2f7si2313147plg.318.2023.05.23.23.47.45; Tue, 23 May 2023 23:47:57 -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=DZJdKNn9; 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 S236461AbjEXGqs (ORCPT + 99 others); Wed, 24 May 2023 02:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239057AbjEXGpw (ORCPT ); Wed, 24 May 2023 02:45:52 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44CB7E64; Tue, 23 May 2023 23:44:52 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1684910689; bh=FYAqrmQ0bmlPcw1wkxP32NPCjnUQYdlgK0CFzZKmxlk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=DZJdKNn9Ap7NKATrnMB39AQGUg9zX6xro+uRCY8RdTJX+olz5nKfWAOAIHk6Yvqxm d8+u+xaNV56WUeZI2Ns7KZ0bRX6WE3lTf0N2QYCrfwegZ2nAOL0WwCYgVKraCTMPHn ITsP6s+8sxs2fwvIU1K629WJOs+m0sTKWPWuF3Gk= Date: Wed, 24 May 2023 08:44:42 +0200 Subject: [PATCH 1/3] Revert "EXP: tools/nolibc: partially revert stackprotector compiler flags" MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230523-nolibc-stackprotector-gcc9-v1-1-3e4804235d50@weissschuh.net> References: <20230523-nolibc-stackprotector-gcc9-v1-0-3e4804235d50@weissschuh.net> In-Reply-To: <20230523-nolibc-stackprotector-gcc9-v1-0-3e4804235d50@weissschuh.net> To: Willy Tarreau , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Zhangjin Wu , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1684910688; l=1431; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=FYAqrmQ0bmlPcw1wkxP32NPCjnUQYdlgK0CFzZKmxlk=; b=VxjyolajHhh+l1qIIIRuw/r3vGErBeQ5q/uMj5L4M0mHrxf+5NdxV0wVJ/cLQ1SGtSV0M76Id G4gwjSfGK69A6sv4PcCPIem1QPvHv/uvxe53fin25F1/KGPhA3vHx3g 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,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 This reverts commit 8213b0cdb51d1f66af713e00fd0dff3c2eb47636. A nicer solution for the same problem is implemented later in this series. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile index e479e9fec5f8..882ba6a33dbb 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -76,20 +76,11 @@ else Q=@ endif -CFLAGS_STACKPROTECTOR = $(call cc-option,-mstack-protector-guard=global) \ - $(call cc-option,-fstack-protector-all) -CFLAGS_STKP_i386 = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_x86_64 = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_x86 = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_arm64 = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_arm = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_mips = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_riscv = $(CFLAGS_STACKPROTECTOR) -CFLAGS_STKP_loongarch = $(CFLAGS_STACKPROTECTOR) CFLAGS_s390 = -m64 CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ $(call cc-option,-fno-stack-protector) \ - $(CFLAGS_STKP_$(ARCH)) $(CFLAGS_$(ARCH)) + $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all)) \ + $(CFLAGS_$(ARCH)) LDFLAGS := -s help: -- 2.40.1