From patchwork Sun Mar 19 13:50:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Willy Tarreau X-Patchwork-Id: 6856 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp737686wrt; Sun, 19 Mar 2023 07:12:39 -0700 (PDT) X-Google-Smtp-Source: AK7set/gIUAwISMw+U+MCdum/EZfEz/XRdg5Kamij6l62PjNmYZyjQbZxd089b4Gopyt6MBHCa1W X-Received: by 2002:a05:6a21:7884:b0:cd:1ccf:246b with SMTP id bf4-20020a056a21788400b000cd1ccf246bmr16591172pzc.57.1679235159358; Sun, 19 Mar 2023 07:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679235159; cv=none; d=google.com; s=arc-20160816; b=LAB0mSOWyfaAZpyePALoNkvPoFJRywNUyzVLndPcb0gylG5H3jbcPUOc3TkRPDMq+K jMxRvWOmX3PlBVFsEqJMteLUOt3SEaqXbXPm06NnRrOwy/LxeRpoPugpb3XYcyhY9Fxd RcAfSIbiYnegT+DXbOgKgOEyPUB2K0gi08uk4CPHAzwbCUqClhVPPU3y3RSIfrRE4R74 wzhogNNp/5VQfPCvPnnYtJe3tV1sKDHfdcdGNVcNm3x3qbrbYoErYTvCohJPdeqg9DMe 8RSu3c9ThQd0Gcnbs7czrkiuQnsrmpId80PkoqSVJL2i2/9OxvjX/sKs7JXyn7sI8T9k jNAw== 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=Oxe9lMqSXWbzsOWZgg3mJTVIBzYmSPhZadbkxSt9Ct4=; b=e+fBAmk5Zwg5KCdlXs7YLU15pFykGW23CfxBT07oImQuRdV4L/fHFjGtHPUfs8VDAy ozc7K+i33Z9lckVtZEahmyOxWHFbpyqawMgHULpsp1W1A03Z8rP5ijXGwx60y580psKS 5FVVoW7V0GrmNNe72ompqBPABcAYt1duK6SNAcqKzfVzNuRsV4Kv3uNVZQ+5tTR5yeAD r298wS5wq5JL5FixeplJ1Z6R5z9gMECXfDgD427l2cPU4JEMaxapFNE1/1Mi3BZ4TdQe 5YYFaHdfSKijPYNybxzJcKrd6aoc1CQenoLvzE3DtCbak7xnstkZFA5xhdZn/ABE2Jh4 aJbw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o123-20020a62cd81000000b0058bb0834688si7672033pfg.157.2023.03.19.07.12.26; Sun, 19 Mar 2023 07:12:39 -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 S230321AbjCSNvc (ORCPT + 99 others); Sun, 19 Mar 2023 09:51:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjCSNv1 (ORCPT ); Sun, 19 Mar 2023 09:51:27 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 59F4616318 for ; Sun, 19 Mar 2023 06:51:25 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 32JDpDB5031995; Sun, 19 Mar 2023 14:51:13 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux@weissschuh.net, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 0/1] tools/nolibc: always disable stack protector for tests Date: Sun, 19 Mar 2023 14:50:59 +0100 Message-Id: <20230319135100.31952-1-w@1wt.eu> X-Mailer: git-send-email 2.17.5 MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760805522900518518?= X-GMAIL-MSGID: =?utf-8?q?1760805686455404465?= Hello Paul, Thomas noticed that nolibc-test fails to build on compilers that enable stack protectors by default. Passing -fno-stack-protector when supported addresses the problem. I verified that all supported archs continue to work after his patch is applied, and that it applies without conflict (and works) both on top of your latest dev tree and on top of Linus' master branch. Thus I think it can make sense to queue it with your next series of fixes and have it for 6.3 given that it addresses build issues for some developers. Thanks! Willy --- Thomas Weißschuh (1): tools/nolibc: always disable stack protector for tests tools/testing/selftests/nolibc/Makefile | 3 +++ 1 file changed, 3 insertions(+)