From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqLF-0005Cq-O1 for qemu-devel@nongnu.org; Fri, 06 Sep 2013 03:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHqL5-0005ne-FX for qemu-devel@nongnu.org; Fri, 06 Sep 2013 03:20:29 -0400 Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]:41950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqL5-0005na-BC for qemu-devel@nongnu.org; Fri, 06 Sep 2013 03:20:19 -0400 Received: by mail-qa0-f51.google.com with SMTP id bv4so297781qab.10 for ; Fri, 06 Sep 2013 00:20:19 -0700 (PDT) Sender: Richard Henderson Message-ID: <5229822E.3020801@twiddle.net> Date: Fri, 06 Sep 2013 00:20:14 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1378376448-29036-1-git-send-email-famz@redhat.com> <1378376448-29036-5-git-send-email-famz@redhat.com> <5228DA64.2020009@twiddle.net> <20130906055356.GA6847@T430s.nay.redhat.com> In-Reply-To: <20130906055356.GA6847@T430s.nay.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 4/6] Makefile: introduce common-obj-m and block-obj-m for DSO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: famz@redhat.com Cc: pbonzini@redhat.com, mjt@tls.msk.ru, qemu-devel@nongnu.org, stefanha@redhat.com On 09/05/2013 10:53 PM, Fam Zheng wrote: > OK. Thanks for pointing out. The problem with ar file is that --whole-archive > needs to be done specificly to modules .a, other libs shouldn't be linked with > this flag. See also: --whole-archive foo.a --no-whole-archive r~