Received: by 10.223.185.116 with SMTP id b49csp718813wrg; Sat, 10 Feb 2018 18:01:00 -0800 (PST) X-Google-Smtp-Source: AH8x225SofEqSukl8YA6cmNV3bSOqGXxsNdLG3dcMC+okDJlWsvnNoGTkszSbRYSEkz7OQ36UxSx X-Received: by 10.99.178.68 with SMTP id t4mr5873623pgo.441.1518314460137; Sat, 10 Feb 2018 18:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518314460; cv=none; d=google.com; s=arc-20160816; b=FBmvKb3AbMU1wlGihAcQS1oowdr6+O09CJACNenpvvr+71b34IUhIUqbKOzqG1rhxv Oeocs4Z9BU864X1Okh+gNvNm3+fD/lylCRWh9D5tubAwHDcXEdTWTjxWSA0jiTqVZ5dD HxNTcdCw5/xXQYWjFHIAmDIaaa9S69nJb1XoXnKtvoUKx+PrS+p0nVjwe7+x7A2Yyk23 s9qy+HOE73bMn1/MmrBZnbeDZPshf7F87B1PR+jEzn5jav4ybkHwlYmu4Y3qJCcZOo5x iwir5f3RMaLRUuKcSvHHkwDb7O+x1Kz/kmYxEJsOfhq2mA+jxxopAOk5cwjyNUXWrbuA 7NdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=NST4jIdzVuiVaNeK6Odh1k7ZkKH4FXBpy3Vki1fG12M=; b=wdPPlJO6FGOYPV1mjmuWysKo2LnoUKfwcMam5GVoCld4Y1JUtwG8dj5tVU7hevgwdt Myz1gmxRHhnoObjEn/GXAvFJXEEhNwp6ID79zNdIwPooCF07GgtLzACAOgutd6i3Aufd 5JJXMlsAqiLU8DqBVKc/GljXrqOt9zxWv2lrg9O3l2+8dbjTnaNO5vxU7Ot842AAo9j4 YIzPgMysUBRFYWmYqp/Rm/03M+mFuS23jD1Q4KMX2f1I+wkP1mWMX8xtqGNxjuDPfCKA KFZeXTTu88lZgh0EoQM4UA6dXvYaAoLd6vDIgZV+uwS70+1c89EQCAEL0F+3uGzQ9QKP koeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si2041005pln.634.2018.02.10.18.00.45; Sat, 10 Feb 2018 18:01:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751652AbeBKCAG (ORCPT + 99 others); Sat, 10 Feb 2018 21:00:06 -0500 Received: from la.guarana.org ([173.254.219.205]:34978 "EHLO la.guarana.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeBKCAF (ORCPT ); Sat, 10 Feb 2018 21:00:05 -0500 Received: by la.guarana.org (Postfix, from userid 1006) id 09000346067E; Sat, 10 Feb 2018 21:00:02 -0500 (EST) Date: Sat, 10 Feb 2018 21:00:02 -0500 From: Kevin Easton To: Randy Dunlap Cc: Ulf Magnusson , Masahiro Yamada , Kees Cook , Linux Kbuild mailing list , Linus Torvalds , Greg Kroah-Hartman , Andrew Morton , Nicolas Pitre , "Luis R . Rodriguez" , Sam Ravnborg , Michal Marek , Martin Schwidefsky , Pavel Machek , linux-s390 , Jiri Kosina , Linux Kernel Mailing List Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= Message-ID: <20180211020001.GA5693@la.guarana.org> References: <20180209053038.pscoijvowmyudyzf@huvuddator> <20180209124607.akjhncb5sempjqcn@huvuddator> <20180210054843.z3g7wvcmlccvww3h@huvuddator> <20180210074924.3nhxsza5zdbaahxx@huvuddator> <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> <246fedb8-d387-5a77-f05d-bf8a91dd6b22@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <246fedb8-d387-5a77-f05d-bf8a91dd6b22@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 10, 2018 at 10:05:12AM -0800, Randy Dunlap wrote: > On 02/10/2018 12:55 AM, Ulf Magnusson wrote: > > How many compilers don't support -fno-stack-protector by the way? > > > > config CC_HAS_STACKPROTECTOR_STRONG > > bool > > option shell="$CC -Werror -fstack-protector-strong -c -x c /dev/null" > > > > config CC_HAS_STACKPROTECTOR_REGULAR > > bool > > option shell="$CC -Werror -fstack-protector -c -x c /dev/null" > > > > config CC_HAS_STACKPROTECTOR_NONE > > bool > > default y > > option shell="$CC -Werror -fno-stack-protector -c -x c /dev/null" > > I ran: > gcc -Werror -fno-stack-protector -c -x c /dev/null > > It worked (gcc (SUSE Linux) 4.8.5) but it did leave a null.o file for me. > Might need to add that to 'make clean' or just rm it immediately. gcc -Werror -fno-stack-protector -c -x c /dev/null -o /dev/null seems to DTRT without leaving anything behind. - Kevin