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-users

Re: [Xen-users] problem when building xen from source by gcc4

To: Wei Lu <welu@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] problem when building xen from source by gcc4
From: Jerone Young <jerone@xxxxxxxxx>
Date: Thu, 14 Jul 2005 14:53:42 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Jul 2005 19:53:01 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nVjwRKPSxXkVHIGWToqi8taHgFCF0UekSaOGvjfvoFRONNvoEVQBo3K2QCnioOtAivgHblhG66tQAIPnNZIjaBKOmkVFjV86+XZu3jol85dE64KdLEUSirugmBARSMM8Go+BGr/p9/MLg/im+8CkxK3eWaswSO0uX+IP0GCRVis=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.58.0507141212440.6535@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.GSO.4.58.0507141212440.6535@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: Jerone Young <jerone@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 7/14/05, Wei Lu <welu@xxxxxxxxxxxxxx> wrote:
> 
> Hi every body
>         I am running fedora 3, and try to build the xen from the source
> tree. When I use the gcc 4 , compilier complians for
> 
> /usr/src/xen-2.0.hg/xen/include/asm/processor.h:175: error: array type has
> incomplete element type
> 
> this is wellknown problem of the compability of gcc 4; then I swithc to
> gcc 3.3.6 or lower version to make the xen, this time the compiler
> complian for

Xen 3.0 will be gcc4 compliant. Xen-unstable is your best bet if you
want to use gcc4.

> 
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC
> -m32 -march=i686 -fPIC -I../../tools/python/xen/lowlevel/xu
> -I../../tools/libxc -I../../tools/libxutil -Ixen/lowlevel/xc
> -I/usr/include/python2.4 -c xen/lowlevel/xc/xc.c -o
> build/temp.linux-i686-2.4/xen/lowlevel/xc/xc.o -fno-strict-aliasing -Wall
> -Werror
> cc1: error: invalid option `tune=pentium4'

tune=pentinu4 is not understood by gcc 3.3 .. I would remove this from
the "Makefile".

> 
> Any hint for that?
> 
> Thanks a lot
> 
> wei
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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