From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jochen Roth Subject: Re: potential gcc bug causes kvm-userspace build break Date: Wed, 11 Mar 2009 19:30:17 +0100 Message-ID: <49B80339.9060308@linux.vnet.ibm.com> References: <49B7FE80.1010307@linux.vnet.ibm.com> <5d6222a80903111111o56b98cfap4005982a78723a46@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mtagate2.de.ibm.com ([195.212.17.162]:40731 "EHLO mtagate2.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752287AbZCKSaX (ORCPT ); Wed, 11 Mar 2009 14:30:23 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id n2BIUIFa012276 for ; Wed, 11 Mar 2009 18:30:21 GMT Received: from d12av03.megacenter.de.ibm.com (d12av03.megacenter.de.ibm.com [9.149.165.213]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2BIUIvD3748076 for ; Wed, 11 Mar 2009 19:30:18 +0100 Received: from d12av03.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av03.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2BIUIaq025240 for ; Wed, 11 Mar 2009 19:30:18 +0100 Received: from pinhighwedge.boeblingen.de.ibm.com (dyn-9-152-222-61.boeblingen.de.ibm.com [9.152.222.61]) by d12av03.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n2BIUHSk025226 for ; Wed, 11 Mar 2009 19:30:18 +0100 In-Reply-To: <5d6222a80903111111o56b98cfap4005982a78723a46@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: 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? -- Jochen