[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XenARM] How to compile the unstable source for arm at sstabellini/xen-unstable.git/.git



Please can you not top-post. It is very disruptive to the flow of the
conversation.

On Tue, 2012-02-14 at 12:44 +0000, Jenny Smith wrote:
> For me the only way to get it working was to explicitly add
> -fno-exceptions to the arm Rules.mk and then compiling and running Xen
> worked.
> 
> diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk
> index 336e209..77250e5 100644
> --- a/xen/arch/arm/Rules.mk
> +++ b/xen/arch/arm/Rules.mk
> @@ -12,6 +12,7 @@ CFLAGS += -I$(BASEDIR)/include
> 
>  # Prevent floating-point variables from creeping into Xen.
>  CFLAGS += -msoft-float
> +CFLAGS += -fno-exceptions -fno-unwind-tables

This is very strange. Xen does not use this for other architectures and
neither does Linux, including on arm.

Which compiler is this with?

My gcc manpage says this will only be enabled by frontends which need it
(such as C++) and explicitly calls out the C frontend as not doing this.
Is there anything in your environment which might cause this (e.g. do
you have a global $CFLAGS set?)

Are both -fno-excepitons and -fno-unwind-tables required or is one or
the other sufficient by itself?

Ian.



_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.