From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaZAJ-0001Zw-4Y for qemu-devel@nongnu.org; Tue, 02 Sep 2008 12:55:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaZAH-0001Z6-Ft for qemu-devel@nongnu.org; Tue, 02 Sep 2008 12:55:38 -0400 Received: from [199.232.76.173] (port=45563 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaZAH-0001Yx-AF for qemu-devel@nongnu.org; Tue, 02 Sep 2008 12:55:37 -0400 Received: from mx03.syneticon.net ([87.79.32.166]:1431) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaZAG-0007LM-Q4 for qemu-devel@nongnu.org; Tue, 02 Sep 2008 12:55:37 -0400 Message-ID: <48BD6FFB.2060701@wpkg.org> Date: Tue, 02 Sep 2008 18:55:23 +0200 From: Tomasz Chmielewski MIME-Version: 1.0 Subject: Re: [Qemu-devel] mips user emulation broken in current SVN References: <48BD47D9.5080607@wpkg.org> <20080902154436.GA3275@networkno.de> In-Reply-To: <20080902154436.GA3275@networkno.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thiemo Seufer Cc: qemu-devel@nongnu.org Thiemo Seufer schrieb: > Tomasz Chmielewski wrote: >> I just fetched the newest SVN revision (5132), tried to build usermode emulation targets, but it fails for mips and mipsel: >> >> To reproduce: >> >> $ ./configure --disable-system --static --enable-linux-user --disable-sdl --target-list=mipsel-linux-user >> $ make >> make -C mipsel-linux-user all >> (...) >> gcc-3.3.6 -g -m32 -static -Wl,-T,/usr/src/qemu-trunk-5132/i386.ld -o qemu-mipsel main.o syscall.o strace.o mmap.o signal.o path.o thunk.o elfload.o linuxload.o uaccess.o gdbstub.o libqemu.a ../libqemu_user.a -lm -lrt -lpthread >> libqemu.a(translate.o): In function `r4k_mmu_init': >> /usr/src/qemu-trunk-5132/target-mips/translate_init.c:458: undefined reference to `r4k_do_tlbwi' >> /usr/src/qemu-trunk-5132/target-mips/translate_init.c:459: undefined reference to `r4k_do_tlbwr' >> /usr/src/qemu-trunk-5132/target-mips/translate_init.c:460: undefined reference to `r4k_do_tlbp' >> /usr/src/qemu-trunk-5132/target-mips/translate_init.c:461: undefined reference to `r4k_do_tlbr' >> collect2: ld returned 1 exit status >> make[1]: *** [qemu-mipsel] Error 1 >> make[1]: Leaving directory `/usr/src/qemu-trunk-5132/mipsel-linux-user' >> make: *** [subdir-mipsel-linux-user] Error 2 > > Not reproducible here, I figure you have stale object files around in > those directories. It fails to compile for me on three different machines/distributions (both with gcc 3.3.6) with a fresh svn checkout (now with trunk 5137) and it failed in the same way. It compiles with gcc 3.4.6 though - is it expected (everything else compiles with gcc 3.3.6)? -- Tomasz Chmielewski http://wpkg.org