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

RE: [Xen-devel] x86_64 build broken?

To: Jerone Young <jyoung5@xxxxxxxxxx>
Subject: RE: [Xen-devel] x86_64 build broken?
From: Kip Macy <kmacy@xxxxxxxxxx>
Date: Mon, 16 May 2005 11:02:45 -0700 (PDT)
Cc: David F Barrera <dfbp@xxxxxxxxxx>, Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Delivery-date: Mon, 16 May 2005 18:02:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1116266329.4807.55.camel@thinkpad>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxxxxxx
> > > 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>