Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0Th6-00089p-4N for qemu-devel@nongnu.org; Sun, 25 May 2008 23:48:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0Th4-00089d-Ci for qemu-devel@nongnu.org; Sun, 25 May 2008 23:48:18 -0400 Received: from [199.232.76.173] (port=55922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0Th4-00089a-6M for qemu-devel@nongnu.org; Sun, 25 May 2008 23:48:18 -0400 Received: from bay0-omc1-s37.bay0.hotmail.com ([65.54.246.109]:29593) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0Th3-0003Q3-NQ for qemu-devel@nongnu.org; Sun, 25 May 2008 23:48:17 -0400 Message-ID: Message-Id: <0512FB03-70B0-4AAB-B6DE-0ABB0EFE3B8E@hotmail.com> From: "C.W. Betts" Content-Type: multipart/alternative; boundary=Apple-Mail-2--609229287 Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 25 May 2008 21:48:08 -0600 Subject: [Qemu-devel] compiling on PPC doesn't work Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Apple-Mail-2--609229287 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Due to the fact that there is now a PowerPC tcg host, I tried to make the i386 and sparc guests. I am building it on an Intel Mac, but I doubt that's the problem (although it took me awhile to figure out how to make PPC apps on i386 comps without using a --build configure argument). However, I got the following error when trying to compile the apic.c file on i386: gcc -I. -I.. -I/Users/username/makestuff/qemu-svn/target-i386 -I/Users/ username/makestuff/qemu-svn -MMD -MP -DNEED_CPU_H -D__powerpc__ - D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/ username/makestuff/qemu-svn/tcg -I/Users/username/makestuff/qemu-svn/ tcg/ppc -I/Users/username/makestuff/qemu-svn/fpu -DHAS_AUDIO - DHAS_AUDIO_CHOICE -I/Users/username/makestuff/qemu-svn/slirp -Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic -m32 -arch ppc -c -o apic.o / Users/username/makestuff/qemu-svn/hw/apic.c /var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s: 151:Invalid mnemonic 'bsr' /var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s: 1458:Invalid mnemonic 'bsf' make[1]: *** [apic.o] Error 1 make: *** [subdir-i386-softmmu] Error 2 The sparc platform compiled and linked without a problem, as well as the rest of the files. --Apple-Mail-2--609229287 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
Due to the fact that there = is now a PowerPC tcg host, I tried to make the i386 and sparc guests. =  I am building it on an Intel Mac, but I doubt that's the problem = (although it took me awhile to figure out how to make PPC apps on i386 = comps without using a --build configure argument).  However, I = got the following error when trying to compile the apic.c file on = i386:

gcc -I. -I.. = -I/Users/username/makestuff/qemu-svn/target-i386 = -I/Users/username/makestuff/qemu-svn -MMD -MP -DNEED_CPU_H -D__powerpc__ = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE = -I/Users/username/makestuff/qemu-svn/tcg = -I/Users/username/makestuff/qemu-svn/tcg/ppc = -I/Users/username/makestuff/qemu-svn/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE = -I/Users/username/makestuff/qemu-svn/slirp -Wall -O2 -g = -fno-strict-aliasing -mdynamic-no-pic -m32 -arch ppc -c -o apic.o = /Users/username/makestuff/qemu-svn/hw/apic.c
/var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s:151:In= valid mnemonic 'bsr'
/var/folders/zN/zNzLfd+VH20MiY73gvxNNk+++TI/-Tmp-//cc4FQRDT.s:1458:I= nvalid mnemonic 'bsf'
make[1]: *** [apic.o] Error = 1
make: *** [subdir-i386-softmmu] Error = 2

The sparc platform compiled and linked = without a problem, as well as the rest of the = files.
= --Apple-Mail-2--609229287--