[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenARM] [help] How to compile the unstable source for arm at sstabellini/xen-unstable.git/.git
Hi Xen-ARMs, I used the latest compiler from Linaro. But the compiler cannot support march=armv7-a and mcpu=cortex-a15 The error information is like this: make -f /home/frank/workspace/xen/src/xen-arm-v6/xen/Rules.mk -C include make[3]: Entering directory `/home/frank/workspace/xen/src/xen-arm-v6/xen/include' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/frank/workspace/xen/src/xen-arm-v6/xen/include' make -f /home/frank/workspace/xen/src/xen-arm-v6/xen/Rules.mk -C arch/arm asm-offsets.s make[3]: Entering directory `/home/frank/workspace/xen/src/xen-arm-v6/xen/arch/arm' arm-linux-gnueabi-gcc -O1 -fno-omit-frame-pointer -marm -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/frank/workspace/xen/src/xen-arm-v6/xen/include -msoft-float -nopie -fno-stack-protector -fno-exceptions -Wnested-externs -DGCC_HAS_VISIBILITY_ATTRIBUTE -march=armv7-a -mcpu=cortex-a15 -fno-optimize-sibling-calls -g -D__XEN__ -include /home/frank/workspace/xen/src/xen-arm-v6/xen/include/xen/config.h -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .asm-offsets.s.d -S -o asm-offsets.s asm-offsets.c asm-offsets.c:1:0: error: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch [-Werror] cc1: all warnings being treated as errors diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk index 336e209..407fc82 100644 --- a/xen/arch/arm/Rules.mk +++ b/xen/arch/arm/Rules.mk @@ -22,7 +22,8 @@ ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n) CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE endif -CFLAGS += -march=armv7-a -mcpu=cortex-a15 +#CFLAGS += -march=armv7-a -mcpu=cortex-a15 +CFLAGS += -mcpu=cortex-a15 I checked binary file xen, it does not have the unresolved symbol. Best Regards, Frank --
_______________________________________________ Xen-arm mailing list Xen-arm@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-arm
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |