[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: fix build with gcc 4.7.x
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1340624492 -7200 # Node ID e08cf97e76f0b8fa8ff68050e6108c97ef7d9af4 # Parent 8c70ad9fd221c4e1549579b63ad20d0f8d4ced83 arm: fix build with gcc 4.7.x 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=). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r 8c70ad9fd221 -r e08cf97e76f0 xen/arch/arm/Rules.mk --- a/xen/arch/arm/Rules.mk Mon Jun 25 10:18:23 2012 +0100 +++ b/xen/arch/arm/Rules.mk Mon Jun 25 13:41:32 2012 +0200 @@ -24,7 +24,7 @@ ifneq ($(call cc-option,$(CC),-fvisibili CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE endif -CFLAGS += -march=armv7-a -mcpu=cortex-a15 -mfpu=vfpv3 -mfloat-abi=softfp +CFLAGS += -mcpu=cortex-a15 -mfpu=vfpv3 -mfloat-abi=softfp # Require GCC v3.4+ (to avoid issues with alignment constraints in Xen headers) check-$(gcc) = $(call cc-ver-check,CC,0x030400,"Xen requires at least gcc-3.4") _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |