From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x226a8UDKYevIp9uoQb+a7vVIjHf5jfGH0w2VcMtWN54WRRsM7k+Ftr38Y8mSFz2ZR1l3MBjD ARC-Seal: i=1; a=rsa-sha256; t=1518314434; cv=none; d=google.com; s=arc-20160816; b=KDciF8/pHKtYN+ZgyKFr7eGBRsPPCWOlXvp+j5Jglb/UUEGIpHWoGRZX/nmJsojA2J dHtwliqyeKVBAlRhuwgOoCCaGlwGIUMMpkUT36P4U8dNQ0ZFsEtsyTsAUordogPbAu0a UIrsUkfG3oCuu2twP6mpgVoLPyEX0a2Nr2QIk3EijrMYGmaAAUUsptolT+6FOfYgg8xM 5EFZkSh6hdxRqNoNxa/Y6luxS2HvaB109qjaCf8lh6BUuvEe+Z5iyx6Hinwxp36hug84 CtRTjM5M/ZHuASOCXq6zvuLAeZn/0T0VF3b8mhPJ+fH/tWvwMNVRNK0hLRbiSU2qlmfR DzGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:arc-authentication-results; bh=NST4jIdzVuiVaNeK6Odh1k7ZkKH4FXBpy3Vki1fG12M=; b=dS9/UKB+vfhdgo9ZfXRYuOdcw+Ujtqi7LHb58EzIcm9iDLNhTnKptA1PnPsv2DvlIf eFjf3TCqhkw5QOxSao+rFbbc9q9T+MSnkFWb/GdNMVX/HTgt616iWrNlfSiMPhaygxGt 9JvFIMvJx7VwmKRApwRFjMa1XIBfhYrrsj/+7Rfp7sBdZWNPVU6LgtTNNc251tGAUgz4 5oSS3eyrd4Tkf1+4jUFB7z8pkaDLfW1ZUhsSW2CFr1jWOqO837rt6T+iNYuknKNsICuB msz75BKE0Nx1IsdpxUm5zb5jn5p/u9UMtB9bTfN8+nr9RddN38OmAKeHuXGmU1KtuZ1x /vog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of caf@la.guarana.org designates 173.254.219.205 as permitted sender) smtp.mailfrom=caf@la.guarana.org Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of caf@la.guarana.org designates 173.254.219.205 as permitted sender) smtp.mailfrom=caf@la.guarana.org 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) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1591850368607646970?= X-GMAIL-MSGID: =?utf-8?q?1592068077010124020?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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