qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Latest CVS problem on ppc
@ 2004-02-17  7:03 Renzo Davoli
  2004-02-17  9:46 ` [Qemu-devel] " Renzo Davoli
  2004-02-17 10:45 ` [Qemu-devel] " Fabrice Bellard
  0 siblings, 2 replies; 5+ messages in thread
From: Renzo Davoli @ 2004-02-17  7:03 UTC (permalink / raw)
  To: qemu-devel

On ppc when I try to compile qemu it breaks with a screenful of errors
on linuxboot.S

It seems to be an i386 assembly source code, my gcc gets "a bit
confused" on it.

Maybe a change in the Makefile is needed (to avoid the use of that file
when compiling od a different architecture).

If I have spare time I'll track better the problem later.

ciao
	renzo

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

* [Qemu-devel] Re: Latest CVS problem on ppc
  2004-02-17  7:03 [Qemu-devel] Latest CVS problem on ppc Renzo Davoli
@ 2004-02-17  9:46 ` Renzo Davoli
  2004-02-17 10:59   ` matthias jahn
  2004-02-17 10:45 ` [Qemu-devel] " Fabrice Bellard
  1 sibling, 1 reply; 5+ messages in thread
From: Renzo Davoli @ 2004-02-17  9:46 UTC (permalink / raw)
  To: qemu-devel

I am having problems on i386 too.

on a debian woody (gcc version 2.95.4 20011002 (Debian prerelease))
I get:
qemu/cpu-exec.c:467: more than 10 operands in `asm'

on a debian sid (gcc version 3.3.3 20031206 (prerelease))
I get target-i386/helper2.c: In function `cpu_x86_init':
/home/renzo/qemutest/cvsnew/qemu/target-i386/helper2.c:97: error:
storage size of `ldt' isn't known
/home/renzo/qemutest/cvsnew/qemu/target-i386/helper2.c:97: warning:
unused variable `ldt'

I'll have a look of them as soon as I have a bit of spare time, if
somebody has already fix them please either reply on ML or upload
a new version on cvs.

tnx.
	renzo

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

* Re: [Qemu-devel] Latest CVS problem on ppc
  2004-02-17  7:03 [Qemu-devel] Latest CVS problem on ppc Renzo Davoli
  2004-02-17  9:46 ` [Qemu-devel] " Renzo Davoli
@ 2004-02-17 10:45 ` Fabrice Bellard
  1 sibling, 0 replies; 5+ messages in thread
From: Fabrice Bellard @ 2004-02-17 10:45 UTC (permalink / raw)
  To: qemu-devel

Oops, I forgot that problem. I will fix it by adding a precompiled 
binary file.

Fabrice.

Renzo Davoli wrote:
> On ppc when I try to compile qemu it breaks with a screenful of errors
> on linuxboot.S
> 
> It seems to be an i386 assembly source code, my gcc gets "a bit
> confused" on it.
> 
> Maybe a change in the Makefile is needed (to avoid the use of that file
> when compiling od a different architecture).
> 
> If I have spare time I'll track better the problem later.
> 
> ciao
> 	renzo
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
> 
> 

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

* Re: [Qemu-devel] Re: Latest CVS problem on ppc
  2004-02-17  9:46 ` [Qemu-devel] " Renzo Davoli
@ 2004-02-17 10:59   ` matthias jahn
  2004-02-18  5:02     ` Renzo Davoli
  0 siblings, 1 reply; 5+ messages in thread
From: matthias jahn @ 2004-02-17 10:59 UTC (permalink / raw)
  To: qemu-devel

Am Dienstag, 17. Februar 2004 10:46 schrieb Renzo Davoli:
> I am having problems on i386 too.
>
> on a debian woody (gcc version 2.95.4 20011002 (Debian prerelease))
> I get:
> qemu/cpu-exec.c:467: more than 10 operands in `asm'
>
> on a debian sid (gcc version 3.3.3 20031206 (prerelease))
> I get target-i386/helper2.c: In function `cpu_x86_init':
> /home/renzo/qemutest/cvsnew/qemu/target-i386/helper2.c:97: error:
> storage size of `ldt' isn't known
> /home/renzo/qemutest/cvsnew/qemu/target-i386/helper2.c:97: warning:
> unused variable `ldt'
I think this is a problem with asm/ldt.h include.
The name of the struct is there struct user_desc.

so i hope this fix is it.
:helper2.c line 97

#ifdef USE_CODE_COPY
    /* testing code for code copy case */
    {
        struct user_desc ldt;

        ldt.entry_number = 1;

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

* Re: [Qemu-devel] Re: Latest CVS problem on ppc
  2004-02-17 10:59   ` matthias jahn
@ 2004-02-18  5:02     ` Renzo Davoli
  0 siblings, 0 replies; 5+ messages in thread
From: Renzo Davoli @ 2004-02-18  5:02 UTC (permalink / raw)
  To: qemu-devel

Thanks both to Fabrice and Matthias.

Both fixes work.
(for now I have copied the linux_boot.o file from a i386 machine and
touched it so that "make" finds it new)

renzo

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

end of thread, other threads:[~2004-02-18  5:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17  7:03 [Qemu-devel] Latest CVS problem on ppc Renzo Davoli
2004-02-17  9:46 ` [Qemu-devel] " Renzo Davoli
2004-02-17 10:59   ` matthias jahn
2004-02-18  5:02     ` Renzo Davoli
2004-02-17 10:45 ` [Qemu-devel] " Fabrice Bellard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).