From: Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
To: Flavio Leitner <fbl@conectiva.com.br>
Cc: David F Barrera <dfbp@us.ibm.com>,
xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: Re: [Xen-users] gcc 4.0.0 and xen-devel
Date: Thu, 9 Jun 2005 18:54:15 +0200 [thread overview]
Message-ID: <20050609165415.GA31157@snarc.org> (raw)
In-Reply-To: <20050609135506.GC3661@conectiva.com.br>
On Thu, Jun 09, 2005 at 10:55:07AM -0300, Flavio Leitner wrote:
>
> More info below where is failing.
>
> On Thu, Jun 09, 2005 at 10:13:37AM -0300, Flavio Leitner wrote:
> >
> > I checkout bktree from bk://xen.bkbits.net/xeno-unstable.bk
> > and now I'm getting these messages:
> >
> > make world or make dist
> >
> > <snip>
> > gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix
> > include -Wall -Werror -Wno-pointer-arith -pipe
> > -I/home/fbl/xeno-unstable.bk/xen/include
> > -I/home/fbl/xeno-unstable.bk/xen/include/asm-x86/mach-generic
> > -I/home/fbl/xeno-unstable.bk/xen/include/asm-x86/mach-default -O3
> > -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c i8259.c
> > -o i8259.o
> > {standard input}: Assembler messages:
> > {standard input}:6: Error: suffix or operands invalid for `mov'
> > {standard input}:6: Error: suffix or operands invalid for `mov'
> > {standard input}:6: Error: suffix or operands invalid for `mov'
> > {standard input}:6: Error: suffix or operands invalid for `mov'
> > {standard input}:1296: Error: suffix or operands invalid for `mov'
> > {standard input}:1296: Error: suffix or operands invalid for `mov'
> > <snip>
>
> Gcc 4.0.0
> Binutils 2.16.90.0.2
these binutils version are unstable CVS (not a good idea to have that IMHO)
and as far as I remember they remove support for "movl %ds, ...".
now is must use: "mov %ds, ..."
does the following patch fix your problems ?
diff -Nru a/xen/include/asm-x86/x86_32/asm_defns.h b/xen/include/asm-x86/x86_32/asm_defns.h
--- a/xen/include/asm-x86/x86_32/asm_defns.h 2005-06-09 17:52:47 +01:00
+++ b/xen/include/asm-x86/x86_32/asm_defns.h 2005-06-09 17:52:47 +01:00
@@ -19,10 +19,10 @@
"jmp 3f;" \
"2:testb $3,"STR(UREGS_cs)"(%esp);" \
"jz 1f;" \
- "movl %ds,"STR(UREGS_ds)"(%esp);" \
- "movl %es,"STR(UREGS_es)"(%esp);" \
- "movl %fs,"STR(UREGS_fs)"(%esp);" \
- "movl %gs,"STR(UREGS_gs)"(%esp);" \
+ "mov %ds,"STR(UREGS_ds)"(%esp);" \
+ "mov %es,"STR(UREGS_es)"(%esp);" \
+ "mov %fs,"STR(UREGS_fs)"(%esp);" \
+ "mov %gs,"STR(UREGS_gs)"(%esp);" \
"3:"
#define SAVE_ALL_NOSEGREGS(_reg) \
--
Vincent Hanquez
next prev parent reply other threads:[~2005-06-09 16:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050607200837.GH3554@conectiva.com.br>
2005-06-08 13:20 ` gcc 4.0.0 and xen-devel David F Barrera
2005-06-08 16:02 ` [Xen-users] " David F Barrera
2005-06-09 13:13 ` Flavio Leitner
2005-06-09 13:55 ` [Xen-devel] " Flavio Leitner
2005-06-09 16:54 ` Vincent Hanquez [this message]
2005-06-09 17:45 ` Flavio Leitner
2005-06-10 11:43 ` Re: [Xen-users] " Vincent Hanquez
2005-06-10 13:02 ` David F Barrera
2005-06-10 13:46 ` Vincent Hanquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050609165415.GA31157@snarc.org \
--to=vincent.hanquez@cl.cam.ac.uk \
--cc=dfbp@us.ibm.com \
--cc=fbl@conectiva.com.br \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.