From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] extboot: fix -fno-stack-protector usage Date: Tue, 08 Jan 2008 19:10:01 +0200 Message-ID: <4783AE69.1030606@qumranet.com> References: <11998113973225-git-send-email-ehrhardt@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Christian Ehrhardt Return-path: In-Reply-To: <11998113973225-git-send-email-ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Christian Ehrhardt wrote: > Subject: [PATCH] extboot: fix -fno-stack-protector usage > From: Christian Ehrhardt > > Option -fno-stack-protector breaks kvm-userspace in environments without > stack-protector functionality. They fail with "unrecognized command line > option" when compiling extboot. > This patch removes the fix -fno-stack-protector option and replaces it > with a detection that only adds -fno-stack-protector if the option is > supported by the used gcc. > The detection code is copied from kernel sources scripts/Kbuild.include. > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace