From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: potential gcc bug causes kvm-userspace build break Date: Wed, 11 Mar 2009 13:41:42 -0500 Message-ID: <49B805E6.6060003@us.ibm.com> References: <49B7FE80.1010307@linux.vnet.ibm.com> <5d6222a80903111111o56b98cfap4005982a78723a46@mail.gmail.com> <49B80339.9060308@linux.vnet.ibm.com> <5d6222a80903111132ga473b3ck628aa4c160549a82@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Jochen Roth , kvm@vger.kernel.org To: Glauber Costa Return-path: Received: from e7.ny.us.ibm.com ([32.97.182.137]:47783 "EHLO e7.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752137AbZCKSlq (ORCPT ); Wed, 11 Mar 2009 14:41:46 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e7.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n2BIWtFp025865 for ; Wed, 11 Mar 2009 14:32:55 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2BIfis0170434 for ; Wed, 11 Mar 2009 14:41:44 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2BIfhpd020740 for ; Wed, 11 Mar 2009 14:41:44 -0400 In-Reply-To: <5d6222a80903111132ga473b3ck628aa4c160549a82@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Glauber Costa wrote: > On Wed, Mar 11, 2009 at 3:30 PM, Jochen Roth wrote: > >> Glauber Costa wrote: >> >>> On Wed, Mar 11, 2009 at 3:10 PM, Jochen Roth >>> wrote: >>> >>>> FYI >>>> >>>> I just discovered a potential gcc bug which causes kvm-userspace builds >>>> to >>>> break. >>>> I looks like it happens only with the latest fedora rawhide gcc 4.4 >>>> https://bugzilla.redhat.com/show_bug.cgi?id=489753 >>>> >>>> The following patch circumvents this problem by just renaming R to REG. >>>> People facing the same problem might find this patch useful. >>>> >>>> >>> Adding a space between the R is a much better fix, since nothing >>> guarantees >>> gcc won't use "REG" in the future too. >>> >>> Eduardo sent a fix for this a while ago, but it was not applied. >>> >>> >> Jakub just closed the bug. It works as designed: >> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm >> >> Shall I send another patch with spaces or do you plan to apply Eduardo's >> patch? >> > > anthony? > I haven't seen a patch against QEMU... Was it sent to qemu-devel? Regards, Anthony Liguori