From: "Jan Beulich" Subject: Re: [PATCH] arm: fix build with gcc 4.7.x Date: Wed, 04 Jul 2012 07:05:35 +0100 Message-ID: <4FF3EB3F0200007800087503@nat28.tlf.novell.com> References: <4FE86056020000780008BABB@nat28.tlf.novell.com> <4FF32748.9060707@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FF32748.9060707@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: david.vrabel@citrix.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> David Vrabel 07/03/12 7:09 PM >>> >On 25/06/12 11:57, Jan Beulich wrote: >> As was already pointed out months ago (see >> http://lists.xen.org/archives/html/xen-devel/2012-02/msg00826.html), >> gcc 4.7.x (imo validly) refuses to take both -mcpu=cortex-a15 and >> -march=armv7-a due to conflicting feature sets causing amibiguity in >> instruction selection. Since the former implies the latter, just use >> the former (and drop the -march=). > >Given that we currently use the v7-A envelope model rather than a >Cortex-A15 I think -march=armv7-a is the correct option. Which would mean passing the -mcpu= was wrong from the start. I'll leave this to the ARM maintainers in any case, the purpose of the change was merely to get the thing to build again. Jan