From: Vincent Hanquez Subject: Re: x86_64/entry.S:317: Error: `1(%eax)' is not a valid 64 bit base/index Date: Wed, 18 May 2005 21:53:47 +0200 Message-ID: <20050518195347.GC24549@snarc.org> References: <1116431940.3626.4.camel@dyn95394152.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1116431940.3626.4.camel@dyn95394152.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David F Barrera Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, May 18, 2005 at 10:59:00AM -0500, David F Barrera wrote: > 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 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