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

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


  • To: Wei Lu <welu@xxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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