All of lore.kernel.org
 help / color / mirror / Atom feed
* x86_64 build broken?
@ 2005-05-16 17:33 Puthiyaparambil, Aravindh
  2005-05-16 17:38 ` David F Barrera
  0 siblings, 1 reply; 7+ messages in thread
From: Puthiyaparambil, Aravindh @ 2005-05-16 17:33 UTC (permalink / raw)
  To: Xen Development List


[-- Attachment #1.1: Type: text/plain, Size: 3397 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 8550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: x86_64 build broken?
  2005-05-16 17:33 Puthiyaparambil, Aravindh
@ 2005-05-16 17:38 ` David F Barrera
  0 siblings, 0 replies; 7+ messages in thread
From: David F Barrera @ 2005-05-16 17:38 UTC (permalink / raw)
  To: Puthiyaparambil, Aravindh; +Cc: Xen Development List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: x86_64 build broken?
@ 2005-05-16 17:49 Nakajima, Jun
  2005-05-16 17:58 ` Jerone Young
  0 siblings, 1 reply; 7+ messages in thread
From: Nakajima, Jun @ 2005-05-16 17:49 UTC (permalink / raw)
  To: David F Barrera, Puthiyaparambil, Aravindh, Jerone Young
  Cc: Xen Development List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: x86_64 build broken?
  2005-05-16 17:49 x86_64 build broken? Nakajima, Jun
@ 2005-05-16 17:58 ` Jerone Young
  2005-05-16 18:02   ` Kip Macy
  0 siblings, 1 reply; 7+ messages in thread
From: Jerone Young @ 2005-05-16 17:58 UTC (permalink / raw)
  To: Nakajima, Jun; +Cc: David F Barrera, Xen Development List

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)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: x86_64 build broken?
  2005-05-16 17:58 ` Jerone Young
@ 2005-05-16 18:02   ` Kip Macy
  0 siblings, 0 replies; 7+ messages in thread
From: Kip Macy @ 2005-05-16 18:02 UTC (permalink / raw)
  To: Jerone Young; +Cc: David F Barrera, Xen Development List, Nakajima, Jun

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: x86_64 build broken?
@ 2005-05-16 18:33 Nakajima, Jun
  0 siblings, 0 replies; 7+ messages in thread
From: Nakajima, Jun @ 2005-05-16 18:33 UTC (permalink / raw)
  To: Jerone Young; +Cc: David F Barrera, Xen Development List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: x86_64 build broken?
@ 2005-05-16 18:47 Nakajima, Jun
  0 siblings, 0 replies; 7+ messages in thread
From: Nakajima, Jun @ 2005-05-16 18:47 UTC (permalink / raw)
  To: Kip Macy, Jerone Young; +Cc: David F Barrera, Xen Development List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-16 18:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-16 17:49 x86_64 build broken? Nakajima, Jun
2005-05-16 17:58 ` Jerone Young
2005-05-16 18:02   ` Kip Macy
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 18:47 Nakajima, Jun
2005-05-16 18:33 Nakajima, Jun
2005-05-16 17:33 Puthiyaparambil, Aravindh
2005-05-16 17:38 ` David F Barrera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.