From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0fX7-0007PJ-OH for qemu-devel@nongnu.org; Tue, 07 Jan 2014 17:54:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0fWz-0004Ji-4O for qemu-devel@nongnu.org; Tue, 07 Jan 2014 17:54:01 -0500 Received: from v220110690675601.yourvserver.net ([37.221.199.173]:41241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0fWy-0004JV-TT for qemu-devel@nongnu.org; Tue, 07 Jan 2014 17:53:53 -0500 Message-ID: <52CC857C.7000901@weilnetz.de> Date: Tue, 07 Jan 2014 23:53:48 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1389113488-18005-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389113488-18005-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] disas: add libvixl to support A64 disassembly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org, Alexander Graf , Blue Swirl , Claudio Fontana , Christoffer Dall , Anthony Liguori , =?UTF-8?B?QWxleCBCZW5uw6ll?= , kvmarm@lists.cs.columbia.edu, =?UTF-8?B?QXVyw6lsaWVuIEphcm5v?= , Richard Henderson Am 07.01.2014 17:51, schrieb Peter Maydell: > Hi. This is a rebased and mildly cleaned up version of Claudio's > RFC patchset from last year to add libvixl to QEMU and use it > for A64 disassembly. > > NOTE NOTE NOTE > * we now link with g++, not gcc (even if the target doesn't > happen to need the A64 disassembler, since it's a bit hard > to tell whether there's a C++-source .o file in the link) > * I've tested Linux (including static link of linux-user) and > MacOS hosts, but not Windows > * if you have a visceral dislike of the idea of C++ in the > QEMU binary now would be a good time to say OMG WTF BBQ For w32, C++ (currently only aarch64 executables) means loading additional DLL files: text data bss dec hex filename 91453 1636 1012 94101 16f95 /usr/lib/gcc/i686-w64-mingw32/4.6/libgcc_s_sjlj-1.dll 796376 29784 3744 829904 ca9d0 /usr/lib/gcc/i686-w64-mingw32/4.6/libstdc++-6.dll They slightly increase the load time and the memory footprint (reducing the meory which is available for QEMU system emulation), but I think this can be neglected. The Windows installers will get larger of course, too. For Linux, QEMU will have new dependencies (libstdc++, maybe more) for the aarch64 executables. CC'ing Aurelien therefore. Regards Stefan