From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1QkU-0000U6-6W for qemu-devel@nongnu.org; Sun, 29 Aug 2004 10:33:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1QkT-0000Tu-Mq for qemu-devel@nongnu.org; Sun, 29 Aug 2004 10:33:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1QkT-0000Tq-Hw for qemu-devel@nongnu.org; Sun, 29 Aug 2004 10:33:37 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C1QfQ-0006Nv-1Q for qemu-devel@nongnu.org; Sun, 29 Aug 2004 10:28:24 -0400 Message-ID: <4131E783.5000307@gmx.com> Date: Sun, 29 Aug 2004 16:26:11 +0200 From: "Bochnig, Martin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] sparc? References: <412DC42E.4070804@gmx.com> <412FC3CB.3010304@gmx.com> <413083B1.2040102@bellard.org> <4130B905.5090706@gmx.com> In-Reply-To: <4130B905.5090706@gmx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: bochnig@pool.math.tu-berlin.de, 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 Bochnig, Martin wrote: > But I'm a *newbie* in that field. > > > Under Solaris9 32bit mode: > I looks pretty promising: The build process nearly completes now!!! > Just 3 "Sybol not found" errors when linking 'qemu'. > Hi, QEMU 0.5.5 does completely build on my SPARCengine Ultra AXi running Solaris 10 Beta build 60 (64 bit kernel only). Current situation: Good news first: The recent linking errors (unreferenced symbols lrint, llrint and fesetround not found) were caused by the lack of these symbols in Solaris9's libc. Fortunately Sun managed to integrate these GLIBC functions into Sun's Solaris10 Beta libc ("via Solaris Express" freely downloadable by anyone at sun.com ). GLIBC is *not* available on any Solaris. Nobody did the port. The QEMU user interface is fully functional (QEMU monitor; QEMU SDL gui). 'qemu' w/o options gives usage information - as well as '?' in QEMU Monitor. Now the bad rest - unfortunately the main thing, the cpu, does *not* work: When the build completes I get the following warning: gmake[1]: warning: Clock skew detected. Your build may be incomplete. And indeed - while the SDL QEMU window pops up, the screen remains black. Nothing happens. Not even the VGA Bios screen is displayed. Eventually the whole qemu process either segfaults or hangs. '-nographic' does the same. I need help. *Please* HELP! Please have a look at the following compiling output: gmake[1]: Entering directory `/tmp_qemu0.5.5_COPLETE_BUILD/i386-softmmu' gmake[1]: Warning: File `../config-host.mak' has modification time 33 s in the future gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o vl.o /tmp_qemu0.5.5_COPLETE_BUILD/vl.c /tmp_qemu0.5.5_COPLETE_BUILD/vl.c: In function `serial_open_device': /tmp_qemu0.5.5_COPLETE_BUILD/vl.c:953: warning: unused variable `slave_name' /tmp_qemu0.5.5_COPLETE_BUILD/vl.c:954: warning: unused variable `master_fd' /tmp_qemu0.5.5_COPLETE_BUILD/vl.c:954: warning: unused variable `slave_fd' /tmp_qemu0.5.5_COPLETE_BUILD/vl.c: At top level: /tmp_qemu0.5.5_COPLETE_BUILD/vl.c:846: warning: `start_rtc_timer' defined but not used gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o osdep.o /tmp_qemu0.5.5_COPLETE_BUILD/osdep.c gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o block.o /tmp_qemu0.5.5_COPLETE_BUILD/block.c I think, especially the fact, that `start_rtc_timer' is not used is the (or at least one essential) root of all the problems. Please help me in implementing the SPARC host code for 'vl.c'. For every existing cpu, everything looks completely different and I cannot see how to reproduce parts of it for sparc. All I was/am able to handle was just a copy&paste of Richard Zidlicky's patch at http://lists.gnu.org/archive/html/qemu-devel/2004-03/msg00078.html and changing its name to sparc. I browsed some header files having 'time' in their name, but I cannot realize how to get that for a SPARC host working. *Many* thanks in advance Martin