[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Compiling on AMD64
From: |
Maurizio Monge |
Subject: |
Re: [Qemu-devel] Compiling on AMD64 |
Date: |
Wed, 2 Jun 2004 13:43:36 +0200 |
User-agent: |
KMail/1.6.52 |
Alle Wednesday 02 June 2004 13:25, Pavel Janík ha scritto:
> Hi,
>
> there are several warning emitted while compiling on AMD64 target system:
>
I was just about to repost yesterday IRC session where i tried to get qemu
working on AMD64 ( thanx Pavel!! :-) )
I cannot compile user-i386/* with gcc 3.4 CVS (ok, it is just cvs from 3.4
branch, so it should be gcc 3.4 with bugfixes...) unless i remove the "-O2"
compilation flag (this is a gcc bug).
After compiling i got error in
gcc -g -Wl,-T,/home/maurizio/qemu/amd64.ld -o qemu-i386 elfload.o main.o
syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a -lm
/usr/bin/ld:/home/maurizio/qemu/amd64.ld:62: parse error
error is on lines 62,63,89, etc of /home/maurizio/qemu/amd64.ld. I tried to
reinstall binutils just to be sure (GNU ld version 2.15) but with no succes.
it looks like ld doesn't understand ONLY_IF_RO and ONLY_IF_RW, but i can't
fixe it because this is the first time i see a .ld file :-)
I hope i am not forgetting anything...
Ciao
Maurizio