Received: by 10.223.185.116 with SMTP id b49csp427235wrg; Sat, 10 Feb 2018 10:07:00 -0800 (PST) X-Google-Smtp-Source: AH8x225Acuyq6jnZ2f4bgv9IQT8+t7AtB+PDwLYmGmHqTUgjhs6tGCOwEtqa6ttBwX46QRLrWH6m X-Received: by 10.98.29.10 with SMTP id d10mr6734651pfd.51.1518286020056; Sat, 10 Feb 2018 10:07:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518286020; cv=none; d=google.com; s=arc-20160816; b=pH6+oFZvJ286kCm17u15VqG0mdqVSuaIiV3xBbZceiIeogtKNrltI0+ONGKHHM5xVj Fbh6fl9KwjNkzXmJbSuBpoCy8OV4DORDaTGqgxSwQJtqYMofmRUBje25Szcenw4EJir6 YDzRrf/reDMaJp8oc3/9eUM7lRiGIe2Sgu0LFGM/gieXFP6HpiKo642mBxwPIBWxgaKs U3zRwUjPxZ1MTQft8KgOoL546cjzyhKTw8LDJUd0TjfeHOWXZYerIsgwhSWgVzCYyWky zEdG+NsLqrM/XiWYjD7xEJtkamMgU32Kopz1eGtvkN2Wa4LohDw7mJCLs7yvolJJig0s mytw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=98m99iBmw+8bYffH56fzgg8cmj4ix5heOwYb407+UhM=; b=RI+/dDR8Zso4aF3RFoVsJu9UNJ3LoRK/CPsKwdE16xGoSJVIR2xSN1p7ef+Ut6p3Me a0bPCUz45DNMwXOjavNsitP7JYdogpTZZcnpFf6Myi16WLNRQXfbDn5ekAeCrELVNsKS 3Tr8gJezHpxaY4AJXc1+8DC2k2cAQMKdnZU0cHvzmrb6uXusV1G1D93ToXzU8wsDaBqa L9B+3h2hFjZnthmfZ8mFb/37RAnJhTQ3eDUgsOVRil6gWFm+2IhCpFrb78TAv3skFHLL D/g4FQSX32HCj4PYIZutNyV1UNxt38kMMMZMvy/Q1grq3UTzRW4SP4ZgfKKTWnmRTa48 V/Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ONXXB7Vz; 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 t69si21942pgd.620.2018.02.10.10.06.45; Sat, 10 Feb 2018 10:07: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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ONXXB7Vz; 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 S1752049AbeBJSFU (ORCPT + 99 others); Sat, 10 Feb 2018 13:05:20 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:42995 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbeBJSFS (ORCPT ); Sat, 10 Feb 2018 13:05:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=98m99iBmw+8bYffH56fzgg8cmj4ix5heOwYb407+UhM=; b=ONXXB7VzrGkal2gRgmdMlgSi9 Mi1X9tkayDToLwEuGWEwgKqU5mwkFYt1PHZsuxJ60/44YtqCwBmcRLKVh4o+RazVeLUcN9KwG1N9a kAkOwCtD0Ru3IvK4kamSVI/HU/AVrX8nOqplemGIcAVXYs2OrG4j1qtvx4PmZC8P0ki0znIy6bjEe tUAkAPDeRr4Pya6bb6iaJWLoT1XQoD4poVEgCM7xUeLX/CLznCf2ZQ8fbsqzjDkbPW3ypsIlZrZs4 Tkc6zAIkPjk9NsTJ+QQqTC+3MmR4DMSOJXKw1kb7Uc91CT0/mU/K915Id8p+3R8izKLBR+68zxX+E PCQfPRWow==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1ekZWU-0000vG-8m; Sat, 10 Feb 2018 18:05:14 +0000 Subject: Re: [RFC PATCH 4/7] kconfig: support new special property shell= To: Ulf Magnusson , Masahiro Yamada Cc: 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 References: <1518106752-29228-1-git-send-email-yamada.masahiro@socionext.com> <1518106752-29228-5-git-send-email-yamada.masahiro@socionext.com> <20180209053038.pscoijvowmyudyzf@huvuddator> <20180209124607.akjhncb5sempjqcn@huvuddator> <20180210054843.z3g7wvcmlccvww3h@huvuddator> <20180210074924.3nhxsza5zdbaahxx@huvuddator> <20180210080556.mycqsjhxbaguwhay@huvuddator> <20180210085519.737ckf4bcl57h4g2@huvuddator> From: Randy Dunlap Message-ID: <246fedb8-d387-5a77-f05d-bf8a91dd6b22@infradead.org> Date: Sat, 10 Feb 2018 10:05:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180210085519.737ckf4bcl57h4g2@huvuddator> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- ~Randy