I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 x86_64. Here is the build output. Am I doing anything wrong here? Aravindh gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing -I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o xc_ptrace.opic xc_ptrace.c In file included from /usr/include/asm/sigcontext.h:4, from /usr/include/asm-x86_64/processor.h:13, from /usr/include/asm/processor.h:4, from /usr/include/asm-x86_64/elf.h:10, from /usr/include/asm/elf.h:4, from xc_ptrace.c:4: /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct _fpstate'' /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of `struct sigcontext'' In file included from /usr/include/asm/pda.h:4, from /usr/include/asm-x86_64/current.h:7, from /usr/include/asm/current.h:4, from /usr/include/asm-x86_64/processor.h:18, from /usr/include/asm/processor.h:4, from /usr/include/asm-x86_64/elf.h:10, from /usr/include/asm/elf.h:4, from xc_ptrace.c:4: /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a constant In file included from /usr/include/asm/system.h:4, from /usr/include/asm-x86_64/processor.h:19, from /usr/include/asm/processor.h:4, from /usr/include/asm-x86_64/elf.h:10, from /usr/include/asm/elf.h:4, from xc_ptrace.c:4: /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' undeclared (first use in this function) /usr/include/asm-x86_64/system.h:249: error: (Each undeclared identifier is reported only once /usr/include/asm-x86_64/system.h:249: error: for each function it appears in.) /usr/include/asm-x86_64/system.h:249: error: parse error before string constant /usr/include/asm-x86_64/system.h:255: error: parse error before string constant /usr/include/asm-x86_64/system.h:261: error: parse error before string constant /usr/include/asm-x86_64/system.h:267: error: parse error before string constant In file included from /usr/include/asm/processor.h:4, from /usr/include/asm-x86_64/elf.h:10, from /usr/include/asm/elf.h:4, from xc_ptrace.c:4: /usr/include/asm-x86_64/processor.h: At top level: /usr/include/asm-x86_64/processor.h:229: error: `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) /usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant /usr/include/asm-x86_64/processor.h: In function `prefetchw'': /usr/include/asm-x86_64/processor.h:396: error: called object is not a function make[4]: *** [xc_ptrace.opic] Error 1 make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' make[3]: *** [build] Error 2 make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' make[2]: *** [install] Error 2 make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' make[1]: *** [tools] Error 2 make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' make: *** [world] Error 2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote:> I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 > x86_64. Here is the build output. Am I doing anything wrong here?No, I am seeing the same thing. There is a defect open in the Xensource Bugzilla, http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? id=34> > Aravindh > > gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - > I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o > xc_ptrace.opic xc_ptrace.c > > In file included from /usr/include/asm/sigcontext.h:4, > > from /usr/include/asm-x86_64/processor.h:13, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct > _fpstate'' > > /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of > `struct sigcontext'' > > In file included from /usr/include/asm/pda.h:4, > > from /usr/include/asm-x86_64/current.h:7, > > from /usr/include/asm/current.h:4, > > from /usr/include/asm-x86_64/processor.h:18, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' > undeclared here (not in a function) > > /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a > constant > > In file included from /usr/include/asm/system.h:4, > > from /usr/include/asm-x86_64/processor.h:19, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': > > /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' undeclared > (first use in this function) > > /usr/include/asm-x86_64/system.h:249: error: (Each undeclared > identifier is reported only once > > /usr/include/asm-x86_64/system.h:249: error: for each function it > appears in.) > > /usr/include/asm-x86_64/system.h:249: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:255: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:261: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:267: error: parse error before string > constant > > In file included from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/processor.h: At top level: > > /usr/include/asm-x86_64/processor.h:229: error: > `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) > > /usr/include/asm-x86_64/processor.h:229: error: requested alignment is > not a constant > > /usr/include/asm-x86_64/processor.h: In function `prefetchw'': > > /usr/include/asm-x86_64/processor.h:396: error: called object is not a > function > > make[4]: *** [xc_ptrace.opic] Error 1 > > make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > make[3]: *** [build] Error 2 > > make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > make[2]: *** [install] Error 2 > > make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' > > make[1]: *** [tools] Error 2 > > make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' > > make: *** [world] Error 2 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jerone, Do you want to look at this? Or is anyone working on this? Jun -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F Barrera Sent: Monday, May 16, 2005 10:39 AM To: Puthiyaparambil, Aravindh Cc: Xen Development List Subject: Re: [Xen-devel] x86_64 build broken? On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote:> I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 > x86_64. Here is the build output. Am I doing anything wrong here?No, I am seeing the same thing. There is a defect open in the Xensource Bugzilla, http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? id=34> > Aravindh > > gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - > I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o > xc_ptrace.opic xc_ptrace.c > > In file included from /usr/include/asm/sigcontext.h:4, > > from /usr/include/asm-x86_64/processor.h:13, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct > _fpstate'' > > /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of > `struct sigcontext'' > > In file included from /usr/include/asm/pda.h:4, > > from /usr/include/asm-x86_64/current.h:7, > > from /usr/include/asm/current.h:4, > > from /usr/include/asm-x86_64/processor.h:18, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' > undeclared here (not in a function) > > /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a > constant > > In file included from /usr/include/asm/system.h:4, > > from /usr/include/asm-x86_64/processor.h:19, > > from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': > > /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' undeclared > (first use in this function) > > /usr/include/asm-x86_64/system.h:249: error: (Each undeclared > identifier is reported only once > > /usr/include/asm-x86_64/system.h:249: error: for each function it > appears in.) > > /usr/include/asm-x86_64/system.h:249: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:255: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:261: error: parse error before string > constant > > /usr/include/asm-x86_64/system.h:267: error: parse error before string > constant > > In file included from /usr/include/asm/processor.h:4, > > from /usr/include/asm-x86_64/elf.h:10, > > from /usr/include/asm/elf.h:4, > > from xc_ptrace.c:4: > > /usr/include/asm-x86_64/processor.h: At top level: > > /usr/include/asm-x86_64/processor.h:229: error: > `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) > > /usr/include/asm-x86_64/processor.h:229: error: requested alignment is > not a constant > > /usr/include/asm-x86_64/processor.h: In function `prefetchw'': > > /usr/include/asm-x86_64/processor.h:396: error: called object is not a > function > > make[4]: *** [xc_ptrace.opic] Error 1 > > make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > make[3]: *** [build] Error 2 > > make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > make[2]: *** [install] Error 2 > > make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' > > make[1]: *** [tools] Error 2 > > make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' > > make: *** [world] Error 2 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I can look at this. On Mon, 2005-05-16 at 10:49 -0700, Nakajima, Jun wrote:> Jerone, > > Do you want to look at this? Or is anyone working on this? > > Jun > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F > Barrera > Sent: Monday, May 16, 2005 10:39 AM > To: Puthiyaparambil, Aravindh > Cc: Xen Development List > Subject: Re: [Xen-devel] x86_64 build broken? > > On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote: > > I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 > > x86_64. Here is the build output. Am I doing anything wrong here? > > No, I am seeing the same thing. There is a defect open in the Xensource > Bugzilla, http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? > id=34 > > > > > Aravindh > > > > gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - > > I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o > > xc_ptrace.opic xc_ptrace.c > > > > In file included from /usr/include/asm/sigcontext.h:4, > > > > from /usr/include/asm-x86_64/processor.h:13, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct > > _fpstate'' > > > > /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of > > `struct sigcontext'' > > > > In file included from /usr/include/asm/pda.h:4, > > > > from /usr/include/asm-x86_64/current.h:7, > > > > from /usr/include/asm/current.h:4, > > > > from /usr/include/asm-x86_64/processor.h:18, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' > > undeclared here (not in a function) > > > > /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a > > constant > > > > In file included from /usr/include/asm/system.h:4, > > > > from /usr/include/asm-x86_64/processor.h:19, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': > > > > /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' undeclared > > (first use in this function) > > > > /usr/include/asm-x86_64/system.h:249: error: (Each undeclared > > identifier is reported only once > > > > /usr/include/asm-x86_64/system.h:249: error: for each function it > > appears in.) > > > > /usr/include/asm-x86_64/system.h:249: error: parse error before string > > constant > > > > /usr/include/asm-x86_64/system.h:255: error: parse error before string > > constant > > > > /usr/include/asm-x86_64/system.h:261: error: parse error before string > > constant > > > > /usr/include/asm-x86_64/system.h:267: error: parse error before string > > constant > > > > In file included from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/processor.h: At top level: > > > > /usr/include/asm-x86_64/processor.h:229: error: > > `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) > > > > /usr/include/asm-x86_64/processor.h:229: error: requested alignment is > > not a constant > > > > /usr/include/asm-x86_64/processor.h: In function `prefetchw'': > > > > /usr/include/asm-x86_64/processor.h:396: error: called object is not a > > function > > > > make[4]: *** [xc_ptrace.opic] Error 1 > > > > make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > make[3]: *** [build] Error 2 > > > > make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > make[2]: *** [install] Error 2 > > > > make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' > > > > make[1]: *** [tools] Error 2 > > > > make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' > > > > make: *** [world] Error 2 > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel-- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I''ll ask again - what should the ifdef be around xc_ptrace.c? -Kip On Mon, 16 May 2005, Jerone Young wrote:> I can look at this. > > On Mon, 2005-05-16 at 10:49 -0700, Nakajima, Jun wrote: > > Jerone, > > > > Do you want to look at this? Or is anyone working on this? > > > > Jun > > -----Original Message----- > > From: xen-devel-bounces@lists.xensource.com > > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F > > Barrera > > Sent: Monday, May 16, 2005 10:39 AM > > To: Puthiyaparambil, Aravindh > > Cc: Xen Development List > > Subject: Re: [Xen-devel] x86_64 build broken? > > > > On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote: > > > I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 > > > x86_64. Here is the build output. Am I doing anything wrong here? > > > > No, I am seeing the same thing. There is a defect open in the Xensource > > Bugzilla, http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? > > id=34 > > > > > > > > Aravindh > > > > > > gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - > > > I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o > > > xc_ptrace.opic xc_ptrace.c > > > > > > In file included from /usr/include/asm/sigcontext.h:4, > > > > > > from /usr/include/asm-x86_64/processor.h:13, > > > > > > from /usr/include/asm/processor.h:4, > > > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > > > from /usr/include/asm/elf.h:4, > > > > > > from xc_ptrace.c:4: > > > > > > /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct > > > _fpstate'' > > > > > > /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of > > > `struct sigcontext'' > > > > > > In file included from /usr/include/asm/pda.h:4, > > > > > > from /usr/include/asm-x86_64/current.h:7, > > > > > > from /usr/include/asm/current.h:4, > > > > > > from /usr/include/asm-x86_64/processor.h:18, > > > > > > from /usr/include/asm/processor.h:4, > > > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > > > from /usr/include/asm/elf.h:4, > > > > > > from xc_ptrace.c:4: > > > > > > /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' > > > undeclared here (not in a function) > > > > > > /usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a > > > constant > > > > > > In file included from /usr/include/asm/system.h:4, > > > > > > from /usr/include/asm-x86_64/processor.h:19, > > > > > > from /usr/include/asm/processor.h:4, > > > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > > > from /usr/include/asm/elf.h:4, > > > > > > from xc_ptrace.c:4: > > > > > > /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': > > > > > > /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' undeclared > > > (first use in this function) > > > > > > /usr/include/asm-x86_64/system.h:249: error: (Each undeclared > > > identifier is reported only once > > > > > > /usr/include/asm-x86_64/system.h:249: error: for each function it > > > appears in.) > > > > > > /usr/include/asm-x86_64/system.h:249: error: parse error before string > > > constant > > > > > > /usr/include/asm-x86_64/system.h:255: error: parse error before string > > > constant > > > > > > /usr/include/asm-x86_64/system.h:261: error: parse error before string > > > constant > > > > > > /usr/include/asm-x86_64/system.h:267: error: parse error before string > > > constant > > > > > > In file included from /usr/include/asm/processor.h:4, > > > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > > > from /usr/include/asm/elf.h:4, > > > > > > from xc_ptrace.c:4: > > > > > > /usr/include/asm-x86_64/processor.h: At top level: > > > > > > /usr/include/asm-x86_64/processor.h:229: error: > > > `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) > > > > > > /usr/include/asm-x86_64/processor.h:229: error: requested alignment is > > > not a constant > > > > > > /usr/include/asm-x86_64/processor.h: In function `prefetchw'': > > > > > > /usr/include/asm-x86_64/processor.h:396: error: called object is not a > > > function > > > > > > make[4]: *** [xc_ptrace.opic] Error 1 > > > > > > make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > > > make[3]: *** [build] Error 2 > > > > > > make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > > > make[2]: *** [install] Error 2 > > > > > > make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' > > > > > > make[1]: *** [tools] Error 2 > > > > > > make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' > > > > > > make: *** [world] Error 2 > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel >-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks, I assigned this to you in the bugzilla. Jun -----Original Message----- From: Jerone Young [mailto:jyoung5@us.ibm.com] Sent: Monday, May 16, 2005 10:59 AM To: Nakajima, Jun Cc: David F Barrera; Puthiyaparambil, Aravindh; Xen Development List Subject: RE: [Xen-devel] x86_64 build broken? I can look at this. On Mon, 2005-05-16 at 10:49 -0700, Nakajima, Jun wrote:> Jerone, > > Do you want to look at this? Or is anyone working on this? > > Jun > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F > Barrera > Sent: Monday, May 16, 2005 10:39 AM > To: Puthiyaparambil, Aravindh > Cc: Xen Development List > Subject: Re: [Xen-devel] x86_64 build broken? > > On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote: > > I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 > > x86_64. Here is the build output. Am I doing anything wrong here? > > No, I am seeing the same thing. There is a defect open in theXensource> Bugzilla, http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? > id=34 > > > > > Aravindh > > > > gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - > > I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o > > xc_ptrace.opic xc_ptrace.c > > > > In file included from /usr/include/asm/sigcontext.h:4, > > > > from /usr/include/asm-x86_64/processor.h:13, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of`struct> > _fpstate'' > > > > /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of > > `struct sigcontext'' > > > > In file included from /usr/include/asm/pda.h:4, > > > > from /usr/include/asm-x86_64/current.h:7, > > > > from /usr/include/asm/current.h:4, > > > > from /usr/include/asm-x86_64/processor.h:18, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'' > > undeclared here (not in a function) > > > > /usr/include/asm-x86_64/pda.h:26: error: requested alignment is nota> > constant > > > > In file included from /usr/include/asm/system.h:4, > > > > from /usr/include/asm-x86_64/processor.h:19, > > > > from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': > > > > /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX''undeclared> > (first use in this function) > > > > /usr/include/asm-x86_64/system.h:249: error: (Each undeclared > > identifier is reported only once > > > > /usr/include/asm-x86_64/system.h:249: error: for each function it > > appears in.) > > > > /usr/include/asm-x86_64/system.h:249: error: parse error beforestring> > constant > > > > /usr/include/asm-x86_64/system.h:255: error: parse error beforestring> > constant > > > > /usr/include/asm-x86_64/system.h:261: error: parse error beforestring> > constant > > > > /usr/include/asm-x86_64/system.h:267: error: parse error beforestring> > constant > > > > In file included from /usr/include/asm/processor.h:4, > > > > from /usr/include/asm-x86_64/elf.h:10, > > > > from /usr/include/asm/elf.h:4, > > > > from xc_ptrace.c:4: > > > > /usr/include/asm-x86_64/processor.h: At top level: > > > > /usr/include/asm-x86_64/processor.h:229: error: > > `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) > > > > /usr/include/asm-x86_64/processor.h:229: error: requested alignmentis> > not a constant > > > > /usr/include/asm-x86_64/processor.h: In function `prefetchw'': > > > > /usr/include/asm-x86_64/processor.h:396: error: called object is nota> > function > > > > make[4]: *** [xc_ptrace.opic] Error 1 > > > > make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > make[3]: *** [build] Error 2 > > > > make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' > > > > make[2]: *** [install] Error 2 > > > > make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' > > > > make[1]: *** [tools] Error 2 > > > > make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' > > > > make: *** [world] Error 2 > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel-- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kip Macy wrote:> I''ll ask again - what should the ifdef be around xc_ptrace.c?You mean to specify x86-64 specific code? Please use: #if defined(__x86_64__) ... #endif Looks like part of the code in xc_ptrace.c needs to ported to x86-64. Jun> > -Kip > > > > On Mon, 16 May 2005, Jerone Young wrote: > >> I can look at this. >> >> On Mon, 2005-05-16 at 10:49 -0700, Nakajima, Jun wrote: >>> Jerone, >>> >>> Do you want to look at this? Or is anyone working on this? >>> >>> Jun >>> -----Original Message----- >>> From: xen-devel-bounces@lists.xensource.com >>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of David F >>> Barrera Sent: Monday, May 16, 2005 10:39 AM >>> To: Puthiyaparambil, Aravindh >>> Cc: Xen Development List >>> Subject: Re: [Xen-devel] x86_64 build broken? >>> >>> On Mon, 2005-05-16 at 13:33 -0400, Puthiyaparambil, Aravindh wrote: >>>> I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 >>>> x86_64. Here is the build output. Am I doing anything wrong here? >>> >>> No, I am seeing the same thing. There is a defect open in the >>> Xensource Bugzilla, >>> http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi? id=34 >>> >>>> >>>> Aravindh >>>> >>>> gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing - >>>> I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o >>>> xc_ptrace.opic xc_ptrace.c >>>> >>>> In file included from /usr/include/asm/sigcontext.h:4, >>>> >>>> from /usr/include/asm-x86_64/processor.h:13, >>>> >>>> from /usr/include/asm/processor.h:4, >>>> >>>> from /usr/include/asm-x86_64/elf.h:10, >>>> >>>> from /usr/include/asm/elf.h:4, >>>> >>>> from xc_ptrace.c:4: >>>> >>>> /usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of >>>> `struct _fpstate'' >>>> >>>> /usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of >>>> `struct sigcontext'' >>>> >>>> In file included from /usr/include/asm/pda.h:4, >>>> >>>> from /usr/include/asm-x86_64/current.h:7, >>>> >>>> from /usr/include/asm/current.h:4, >>>> >>>> from /usr/include/asm-x86_64/processor.h:18, >>>> >>>> from /usr/include/asm/processor.h:4, >>>> >>>> from /usr/include/asm-x86_64/elf.h:10, >>>> >>>> from /usr/include/asm/elf.h:4, >>>> >>>> from xc_ptrace.c:4: >>>> >>>> /usr/include/asm-x86_64/pda.h:26: error: >>>> `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) >>>> >>>> /usr/include/asm-x86_64/pda.h:26: error: requested alignment is >>>> not a constant >>>> >>>> In file included from /usr/include/asm/system.h:4, >>>> >>>> from /usr/include/asm-x86_64/processor.h:19, >>>> >>>> from /usr/include/asm/processor.h:4, >>>> >>>> from /usr/include/asm-x86_64/elf.h:10, >>>> >>>> from /usr/include/asm/elf.h:4, >>>> >>>> from xc_ptrace.c:4: >>>> >>>> /usr/include/asm-x86_64/system.h: In function `__cmpxchg'': >>>> >>>> /usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX'' >>>> undeclared (first use in this function) >>>> >>>> /usr/include/asm-x86_64/system.h:249: error: (Each undeclared >>>> identifier is reported only once >>>> >>>> /usr/include/asm-x86_64/system.h:249: error: for each function it >>>> appears in.) >>>> >>>> /usr/include/asm-x86_64/system.h:249: error: parse error before >>>> string constant >>>> >>>> /usr/include/asm-x86_64/system.h:255: error: parse error before >>>> string constant >>>> >>>> /usr/include/asm-x86_64/system.h:261: error: parse error before >>>> string constant >>>> >>>> /usr/include/asm-x86_64/system.h:267: error: parse error before >>>> string constant >>>> >>>> In file included from /usr/include/asm/processor.h:4, >>>> >>>> from /usr/include/asm-x86_64/elf.h:10, >>>> >>>> from /usr/include/asm/elf.h:4, >>>> >>>> from xc_ptrace.c:4: >>>> >>>> /usr/include/asm-x86_64/processor.h: At top level: >>>> >>>> /usr/include/asm-x86_64/processor.h:229: error: >>>> `CONFIG_X86_L1_CACHE_SHIFT'' undeclared here (not in a function) >>>> >>>> /usr/include/asm-x86_64/processor.h:229: error: requested >>>> alignment is not a constant >>>> >>>> /usr/include/asm-x86_64/processor.h: In function `prefetchw'': >>>> >>>> /usr/include/asm-x86_64/processor.h:396: error: called object is >>>> not a function >>>> >>>> make[4]: *** [xc_ptrace.opic] Error 1 >>>> >>>> make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' >>>> >>>> make[3]: *** [build] Error 2 >>>> >>>> make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'' >>>> >>>> make[2]: *** [install] Error 2 >>>> >>>> make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'' >>>> >>>> make[1]: *** [tools] Error 2 >>>> >>>> make[1]: Leaving directory `/root/xen/xeno-unstable.bk'' >>>> >>>> make: *** [world] Error 2 >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel