From: Thiemo Seufer <ths@networkno.de>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] mips user emulation broken in current SVN
Date: Tue, 2 Sep 2008 19:40:29 +0200 [thread overview]
Message-ID: <20080902174029.GA12869@networkno.de> (raw)
In-Reply-To: <48BD6FFB.2060701@wpkg.org>
Tomasz Chmielewski wrote:
> 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)?
I generally use 3.4. It looks like 3.3 isn't intelligent enough to remove
such dead code. I comitted a patch which hopefully fixes it.
Thiemo
next prev parent reply other threads:[~2008-09-02 17:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 14:04 [Qemu-devel] mips user emulation broken in current SVN Tomasz Chmielewski
2008-09-02 15:44 ` Thiemo Seufer
2008-09-02 16:55 ` Tomasz Chmielewski
2008-09-02 17:40 ` Thiemo Seufer [this message]
2008-09-02 18:26 ` Tomasz Chmielewski
2008-09-02 18:28 ` Tomasz Chmielewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080902174029.GA12869@networkno.de \
--to=ths@networkno.de \
--cc=mangoo@wpkg.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.