WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Compiling xen with gcc 4.2.1

To: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Compiling xen with gcc 4.2.1
From: Tristan Gingold <tgingold@xxxxxxx>
Date: Thu, 4 Oct 2007 02:18:15 +0200
Delivery-date: Wed, 03 Oct 2007 17:12:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Hi,

I have made very minor changes (see below) so that Xen can be compiled by
gcc 4.2.1.  But it is *very* unstable.  Did anyone already try ?

Tristan.

diff -r c29269e32ea6 xen/arch/ia64/linux-xen/iosapic.c
--- a/xen/arch/ia64/linux-xen/iosapic.c Tue Oct 02 15:33:16 2007 +0200
+++ b/xen/arch/ia64/linux-xen/iosapic.c Thu Oct 04 02:00:54 2007 +0200
@@ -177,7 +177,7 @@ _gsi_to_vector (unsigned int gsi)
  * Translate GSI number to the corresponding IA-64 interrupt vector.  If no
  * entry exists, return -1.
  */
-inline int
+int
 gsi_to_vector (unsigned int gsi)
 {
        return _gsi_to_vector(gsi);
diff -r c29269e32ea6 xen/arch/ia64/xen/irq.c
--- a/xen/arch/ia64/xen/irq.c   Tue Oct 02 15:33:16 2007 +0200
+++ b/xen/arch/ia64/xen/irq.c   Thu Oct 04 01:59:40 2007 +0200
@@ -122,14 +122,6 @@ struct hw_interrupt_type no_irq_type = {
 };
 
 atomic_t irq_err_count;
-
-/* Some placeholder here, which are used by other files and we
- * don't want to change too much now. Later they should be cleaned.
- */
-#ifdef CONFIG_SMP
-inline void synchronize_irq(unsigned int irq) {}
-EXPORT_SYMBOL(synchronize_irq);
-#endif
 
 /*
  * Generic enable/disable code: this just calls


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

<Prev in Thread] Current Thread [Next in Thread>