Latest CVS problem on ppc
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
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
Oops, I forgot that problem. I will fix it by adding a precompiled binary file.
Fabrice.
Quoted 21 lines · Renzo Davoli
On ppc when I try to compile qemu it breaks with a screenful of errors on
linuxboot.SIt seems to be an i386 assembly source code, my gcc gets "a bit confused" on it.
Maybe a change in the
Makefileis 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
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel
Am Dienstag, 17. Februar 2004 10:46 schrieb Renzo Davoli:
Quoted 6 lines
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'
Quoted 6 lines
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;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