From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2xyt-00058D-KV for qemu-devel@nongnu.org; Sat, 09 May 2009 21:37:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2xyp-00057z-5J for qemu-devel@nongnu.org; Sat, 09 May 2009 21:37:31 -0400 Received: from [199.232.76.173] (port=44535 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2xyp-00057w-2K for qemu-devel@nongnu.org; Sat, 09 May 2009 21:37:27 -0400 Received: from mail-gx0-f176.google.com ([209.85.217.176]:41340) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2xyo-0006vz-R3 for qemu-devel@nongnu.org; Sat, 09 May 2009 21:37:26 -0400 Received: by gxk24 with SMTP id 24so5872478gxk.10 for ; Sat, 09 May 2009 18:37:26 -0700 (PDT) Message-ID: <4A062FD4.2050103@codemonkey.ws> Date: Sat, 09 May 2009 20:37:24 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC] New device API References: <200905051231.09759.paul@codesourcery.com> <4A0083F5.7050606@codemonkey.ws> <200905060152.02351.paul@codesourcery.com> <200905060204.32068.paul@codesourcery.com> <4A05EDD8.6030208@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Paul Brook , qemu-devel@nongnu.org malc wrote: > On Sat, 9 May 2009, Anthony Liguori wrote: > >> And I've confirmed this works. >> > > -Wl,--whole-archive means QEMU can only be built with GNU ld. > Also, we don't have to use static libraries. It really doesn't give us anything so it's pretty simple to swizzle the Makefiles if we have to. If we really want to use a library, we should make it a dynamic library and install that by default. That way we save on some installation size. So there's a lot of simple ways to eliminate --whole-archive if we have to. Regards, Anthony Liguori