From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrSZP-0005qg-0Z for qemu-devel@nongnu.org; Sat, 26 Sep 2009 04:23:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrSZO-0005qK-9D for qemu-devel@nongnu.org; Sat, 26 Sep 2009 04:23:54 -0400 Received: from [199.232.76.173] (port=35562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrSZO-0005qD-2r for qemu-devel@nongnu.org; Sat, 26 Sep 2009 04:23:54 -0400 Received: from hall.aurel32.net ([88.191.82.174]:34422) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MrSZN-0006Cl-Jo for qemu-devel@nongnu.org; Sat, 26 Sep 2009 04:23:53 -0400 Date: Sat, 26 Sep 2009 10:23:52 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] Re: [Qemu-commits] [COMMIT 3f600fa] Revert "This files are compiled in libqemu.a now" Message-ID: <20090926082352.GE6040@hall.aurel32.net> References: <200909251923.n8PJNriE004578@d03av01.boulder.ibm.com> <20090925202325.GA5929@volta.aurel32.net> <20090926072529.GC6040@hall.aurel32.net> <20090926075321.GD6040@hall.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090926075321.GD6040@hall.aurel32.net> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org On Sat, Sep 26, 2009 at 09:53:21AM +0200, Aurelien Jarno wrote: > On Sat, Sep 26, 2009 at 09:25:29AM +0200, Aurelien Jarno wrote: > > On Sat, Sep 26, 2009 at 09:44:39AM +0300, Blue Swirl wrote: > > > On Fri, Sep 25, 2009 at 11:23 PM, Aurelien Jarno wrote: > > > > On Fri, Sep 25, 2009 at 07:24:37PM -0000, Anthony Liguori wrote: > > > >> From: Blue Swirl > > > >> > > > >> This reverts commit fe6549dfd76c278dbcd788b3c15c5e6e5ed32190. > > > >> > > > >> tcg-runtime and host-utils are needed on 32 bit host and they are not part > > > >> of libqemu.a. > > > >> > > > >> Thanks to Stefan Weil for reporting. > > > >> > > > > > > > > So what is the correct fix to the original problem? All the user-linux > > > > targets are failing to build following commits > > > > 96e132e24ee5a693069e83b6a981693588b088c1 and > > > > c2b023b62707f5dc73497dc03f3764f145a29785: > > > > > > > > $ LC_ALL=C make > > > >  LINK  i386-linux-user/qemu-i386 > > > > gcc: tcg-runtime.o: No such file or directory > > > > gcc: host-utils.o: No such file or directory > > > > make[1]: *** [qemu-i386] Error 1 > > > > make: *** [subdir-i386-linux-user] Error 2 > > > > > > I can't reproduce the problem (i386 log below). Did you run make clean? > > > > > > > Yes 'make clean' or even 'git clean -fdx' doesn't change anything, the > > problem is still there. > > > > OTOH, using configure --disable-system workarounds the problem. > Some more debugging output: | gcc -Wl,--warn-common -g -m64 -Wl,-T../config-host.ld -Wl,-T,/home/aurel32/git/qemu/x86_64.ld -o qemu-i386 main.o syscall.o strace.o mmap.o signal.o thunk.o elfload.o linuxload.o uaccess.o gdbstub.o gdbstub-xml.o envlist.o path.o tcg-runtime.o host-utils.o vm86.o cutils-user.o cache-utils-user.o ioport-user.o -Wl,--whole-archive libqemu.a -Wl,--no-whole-archive -lrt -lpthread -lm | gcc: tcg-runtime.o: No such file or directory | gcc: host-utils.o: No such file or directory | make[1]: *** [qemu-i386] Error 1 | make[1]: Leaving directory `/home/aurel32/git/qemu/i386-linux-user' | make: *** [subdir-i386-linux-user] Error 2 | aurel32@volta:~/git/qemu (master)$ make -C i386-linux-user V="1" TARGET_DIR="i386-linux-user/" host-utils.o tcg-runtime.o | make: Entering directory `/home/aurel32/git/qemu/i386-linux-user' | make: `/home/aurel32/git/qemu/host-utils.o' is up to date. | make: `/home/aurel32/git/qemu/tcg-runtime.o' is up to date. | make: Leaving directory `/home/aurel32/git/qemu/i386-linux-user' If I remove the host-utils.o and tcg-runtime.o that have been created by the system builds (in the root directory), then they are built in the i386-linux-user/ directory and the build succeeded. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net