From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlXsV-0004m1-OO for qemu-devel@nongnu.org; Wed, 09 Sep 2009 20:51:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlXsR-0004ks-7e for qemu-devel@nongnu.org; Wed, 09 Sep 2009 20:51:11 -0400 Received: from [199.232.76.173] (port=57128 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlXsR-0004kp-14 for qemu-devel@nongnu.org; Wed, 09 Sep 2009 20:51:07 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:32993) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlXsQ-0000EC-Jq for qemu-devel@nongnu.org; Wed, 09 Sep 2009 20:51:06 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n8A0oP6Q002066 for ; Wed, 9 Sep 2009 20:50:25 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n8A0p2BZ185876 for ; Wed, 9 Sep 2009 20:51:02 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n8A0p20P017531 for ; Wed, 9 Sep 2009 20:51:02 -0400 Message-ID: <4AA84D74.4030905@us.ibm.com> Date: Wed, 09 Sep 2009 19:51:00 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <200909092236.n89MaDVS020267@d01av01.pok.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [COMMIT 8a2e6ab] Remove CFLAGS parameter in cc-option List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: "qemu-devel@nongnu.org" , Juan Quintela malc wrote: > On Thu, 10 Sep 2009, Juan Quintela wrote: > > >> malc wrote: >> >>> On Wed, 9 Sep 2009, Anthony Liguori wrote: >>> >>> >>>> From: Juan Quintela >>>> >>>> With cc-option we are testing if gcc just accept a particular option, we >>>> don't need CFLAGS at all. And this fixes the recursive problem with >>>> CFLAGS >>>> >>> This is nonsense, previous options, those in CFLAGS, might conflict with >>> the new ones. >>> >> The only thing that we are testing is if gcc support that _option_ >> >> What is the use case tat you have in mind? A first grep on gcc man page >> don't show options that conflict with each other. >> > > If you want artificial exmaples i can come up with plenty, and from the > top of my head -m486 with -msse2 are quite incompatible with each other, > furthermore, point is this - testing one option in isolation is broken. > I think this is a pretty valid point. I think it's worth while to try and better understand what the recursion problem was in the first place. -- Regards, Anthony Liguori