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

Re: [Xen-ia64-devel] Problem with building the newest xen source on IA64

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Problem with building the newest xen source on IA64
From: Rafal Lichwala <syriusz@xxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 11:58:02 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jul 2007 02:55:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200707191111.15634.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
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>
References: <469F0674.6020306@xxxxxxxxxxxxx> <200707191111.15634.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070604)
Hi Dietmar,

Following your suggestion, I've just upgraded binutils to binutils-2.17.50.0.14-1. I've tried a new build on the fresh xen source tree (without any modifications), but unfortunately the error message is still there:

####################
...
gcc -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -mconstant-gp -O2 -fomit-frame-pointer -D__KERNEL__ -iwithprefix include -I/home/rafal/xen-3.1.0-src/xen/include -I/home/rafal/xen-3.1.0-src/xen/include/asm-ia64 -I/home/rafal/xen-3.1.0-src/xen/include/asm-ia64/linux -I/home/rafal/xen-3.1.0-src/xen/include/asm-ia64/linux-xen -I/home/rafal/xen-3.1.0-src/xen/include/asm-ia64/linux-null -I/home/rafal/xen-3.1.0-src/xen/arch/ia64/linux -I/home/rafal/xen-3.1.0-src/xen/arch/ia64/linux-xen -DIA64 -DXEN -DLINUX_2_6 -ffixed-r13 -mfixed-range=f2-f5,f12-f127,b2-b5 -g -DCONFIG_XEN_IA64_EXPOSE_P2M -DCONFIG_XEN_IA64_PERVCPU_VHPT -DCONFIG_XEN_IA64_TLB_TRACK -DCONFIG_XEN_IA64_TLBFLUSH_CLOCK -g -D__XEN__ -c perfmon.c -o perfmon.o
perfmon.c:1431:1: directives may not be used inside a macro argument
perfmon.c:1430:80: unterminated argument list invoking macro "DPRINT"
perfmon.c: In function `pfm_reserve_session':
perfmon.c:1434: `DPRINT' undeclared (first use in this function)
perfmon.c:1434: (Each undeclared identifier is reported only once
perfmon.c:1434: for each function it appears in.)
perfmon.c:1436: syntax error before ')' token
perfmon.c:5744:1: directives may not be used inside a macro argument
perfmon.c:5743:102: unterminated argument list invoking macro "DPRINT_ovfl"
perfmon.c: In function `pfm_overflow_handler':
perfmon.c:5748: `DPRINT_ovfl' undeclared (first use in this function)
perfmon.c:5753: syntax error before ')' token
make[6]: *** [perfmon.o] Error 1
...
####################

Do you have any other idea how to solve the problem?
Should I upgrade some more packages?

Cheers

Rafal

Dietmar Hahn wrote:
Hi Rafal,

Am Donnerstag, 19. Juli 2007 schrieb Rafal Lichwala:

ivt.S:305: Error: unknown pseudo-op: `.serialize.data'

There were two suggestions on Xen mailing lists related with this problem:

1. update binutils - in my case there is binutils-2.14.90.0.4-42 so I
guess it's rather fresh...

I think the best would be to update binutils. Version 2.14 was released 2003! Current version is 2.17.

2. comment out HAVE_SERIALIZE_DIRECTIVE definition in
xen/include/asm-ia64/config.h - it helped in my case!

Now things seem to go a little bit better (with some warnings by the
way), but finally it gets stuck again with the following error message:


I didn't tried this out. Maybe uncommenting HAVE_SERIALIZE_DIRECTIVE involves other problem which doesn't attract attention because nobody has tried it the last time.

Dietmar.


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