From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH] [alpha] Add minimal support for software performance events. Date: Sun, 8 Nov 2009 13:22:26 +0100 Message-ID: <20091108122226.GC11372@elte.hu> References: <1256545926-6972-1-git-send-email-mcree@orcon.net.nz> <20091026084854.GA26990@elte.hu> <4AE6AAD3.3000102@orcon.net.nz> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4AE6AAD3.3000102@orcon.net.nz> Sender: linux-alpha-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Cree Cc: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Peter Zijlstra , Paul Mackerras , Andrew Morton * Michael Cree wrote: > > Should be done not by removing the stack-protector build > > unconditionally - but by auto-testing whether stackprotector is > > supported by GCC and using it if yes. > > Revised patch attached. It includes a test that the compiler doesn't > bomb out with -fstack-protector-all and only adds the option to CFLAGS > if ok. But I have had to put the test below the definition of the > macro CC. This has the side effect of separating the addition of > -fstack-protector-all from the main definitions of CFLAGS and > ALL_CFLAGS, and is not ideal in my opinion. The patch also removes > -Wcast-align (I forgot to say that in the commit message of the > patch). Nice, i'll queue this up for Linus. Your S-O-B line was missing from this second patch - i presume you intended it to be included, right? Thanks, Ingo