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

Re: [Xen-devel] [PATCH] compile fixes for xen with gcc-4.7 on Fedora 17


  • To: M A Young <m.a.young@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Sun, 15 Jan 2012 21:44:20 +0000
  • Delivery-date: Sun, 15 Jan 2012 21:45:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AczTztZcX5rrVxaVoUu9jauYdM/yOg==
  • Thread-topic: [Xen-devel] [PATCH] compile fixes for xen with gcc-4.7 on Fedora 17

On 15/01/2012 20:53, "M A Young" <m.a.young@xxxxxxxxxxxx> wrote:

> I needed the xen-4.1 equivalent of the attached patch to get xen to
> compile on Fedora 17 with gcc-4.7. It seems that gcc-4.7 doesn't like it
> when you mix definitions of a function as
> void function(void);
> and
> asmlinkage void function(void);
> in .c and .h files. The patch (for 4.2) fixes three cases where they are
> inconsistent.

I wonder why we're bothering with asmlinkage at all. It's defined to nothin
on x86-64, and regparm((0)) is actually the default for i386 anyway. I think
we can just kill off asmlinkage, so I'll do that instead.

 -- Keir

> Michael Young
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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