Skip to contentSkip to conversation

x86_64/entry.S:317: Error: `1(%eax)' is not a valid 64 bit base/index

DISCUSSION David F Barrera 3 participants 4 messages May 18, 2005

lore
Share & tools
lore
#0 lore raw

Using the May 17 xen-unstable-src.tgz on x86_64, the following error occurs on a SLES 9 SP1 platform (It builds OK on Fedora Core 4, but it does not boot, and that is another issue):

gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/tmp/xen-unstable/xen/include -I/tmp/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG -D__ASSEMBLY__ -c x86_64/entry.S -o x86_64/entry.o
x86_64/entry.S: Assembler messages:
x86_64/entry.S:317: Error: 1(%eax)' is not a valid 64 bit base/index expressionx86_64/entry.S:320: Error: 136+8(%esp)' is not a valid 64 bit base/index expression
make[3]: *** [x86_64/entry.o] Error 1
make[3]: Leaving directory `/tmp/xen-unstable/xen/arch/x86' make[2]: *** [/tmp/xen-unstable/xen/xen] Error 2
make[2]: Leaving directory `/tmp/xen-unstable/xen'
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/tmp/xen-unstable'
make: *** [world] Error 2

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides
#1 lore raw
Quoted 9 lines · David F Barrera

Using the May 17 xen-unstable-src.tgz on x86_64, the following error occurs on a SLES 9 SP1 platform (It builds OK on Fedora Core 4, but it does not boot, and that is another issue):

gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include

(quoted diff) +0 -4
-Wall -Werror -Wno-pointer-arith -pipe -I/tmp/xen-unstable/xen/include
-I/tmp/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks
-fno-asynchronous-unwind-tables -DNDEBUG -D__ASSEMBLY__ -c x86_64/entry.S -o
Quoted 5 lines

x86_64/entry.o
x86_64/entry.S: Assembler messages:
x86_64/entry.S:317: Error: 1(%eax)' is not a valid 64 bit base/index expressionx86_64/entry.S:320: Error: 136+8(%esp)' is not a valid 64 bit base/index expression

that's odd. could you verify you have the correct line on entry.S ?

line 317: setnz VCPUINFO_upcall_mask(%rax)
line 320: movw UREGS_cs+8(%rsp),%ax

as well, what compiler version are you using ?

Signature · 1 line
Vincent Hanquez
#2 lore raw

The fix for this is in bitkeeper now. It did not make it into the unstable tar ball for the night. So you will not see this problem tommorow.

Quoted 31 lines · Vincent Hanquez
Quoted 9 lines · David F Barrera

Using the May 17 xen-unstable-src.tgz on x86_64, the following error occurs on a SLES 9 SP1 platform (It builds OK on Fedora Core 4, but it does not boot, and that is another issue):

gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include

(quoted diff) +0 -4
-Wall -Werror -Wno-pointer-arith -pipe -I/tmp/xen-unstable/xen/include
-I/tmp/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks
-fno-asynchronous-unwind-tables -DNDEBUG -D__ASSEMBLY__ -c x86_64/entry.S -o
Quoted 5 lines

x86_64/entry.o
x86_64/entry.S: Assembler messages:
x86_64/entry.S:317: Error: 1(%eax)' is not a valid 64 bit base/index expressionx86_64/entry.S:320: Error: 136+8(%esp)' is not a valid 64 bit base/index expression

that's odd. could you verify you have the correct line on entry.S ?

line 317: setnz VCPUINFO_upcall_mask(%rax)
line 320: movw UREGS_cs+8(%rsp),%ax

as well, what compiler version are you using ?

--
Vincent Hanquez

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Vincent Hanquez
Quoted 5 lines · Vincent Hanquez
Quoted 4 lines · David F Barrera

Using the May 17 xen-unstable-src.tgz on x86_64, the following error occurs on a SLES 9 SP1 platform (It builds OK on Fedora Core 4, but it does not boot, and that is another issue):

Quoted 12 lines
Quoted 10 lines

gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include

(quoted diff) +0 -4
-Wall -Werror -Wno-pointer-arith -pipe -I/tmp/xen-unstable/xen/include
-I/tmp/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks
-fno-asynchronous-unwind-tables -DNDEBUG -D__ASSEMBLY__ -c x86_64/entry.S -o

x86_64/entry.o
x86_64/entry.S: Assembler messages:
x86_64/entry.S:317: Error: 1(%eax)' is not a valid 64 bit base/index expressionx86_64/entry.S:320: Error: 136+8(%esp)' is not a valid 64 bit base/index expression

that's odd. could you verify you have the correct line on entry.S ?

They seem different. I am using the May 17 xen-unstable-src.tgz file.

Quoted 2 lines

line 317: setnz VCPUINFO_upcall_mask(%rax)

I have:
setnz VCPUINFO_upcall_mask(%eax)# TBF_INTERRUPT -> clear upcall mask

Quoted 1 line

line 320: movw UREGS_cs+8(%rsp),%ax

I have:
movw UREGS_cs+8(%esp),%ax # Bits 0-15: CS

Quoted 2 lines

as well, what compiler version are you using ?

gcc version 3.3.3 (SuSE Linux):

Signature · 8 lines
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides