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

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



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


 


Rackspace

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