Received: from eggs.gnu.org ([2001:4830:134:3::10]:38058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRbFv-0004DP-Fx for qemu-devel@nongnu.org; Wed, 10 Sep 2014 02:19:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRbFp-000051-Bo for qemu-devel@nongnu.org; Wed, 10 Sep 2014 02:19:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRbFp-0008WV-55 for qemu-devel@nongnu.org; Wed, 10 Sep 2014 02:19:45 -0400 Date: Wed, 10 Sep 2014 14:19:40 +0800 From: Fam Zheng Message-ID: <20140910061940.GC26965@fam-t430.nay.redhat.com> References: <1409715896-14322-1-git-send-email-famz@redhat.com> <5406C8DC.10804@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5406C8DC.10804@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] build-sys: Exclude empty object files when linking libqemuutil.a List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, Stefan Hajnoczi On Wed, 09/03 09:53, Paolo Bonzini wrote: > Il 03/09/2014 05:44, Fam Zheng ha scritto: > > On Mac OS X, ranlib complains on a few empty objects: > > > > AR libqemuutil.a > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: > > file: libqemuutil.a(generated-tracers.o) has no symbols > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: > > file: libqemuutil.a(host-utils.o) has no symbols > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: > > file: libqemuutil.a(getauxval.o) has no symbols > > > > This series fixes the warnings. > > > > Fam > > > > Fam Zheng (3): > > trace: Only link generated-tracers.o with "simple" backend > > util: Move general qemu_getauxval to util/getauxval.c > > util: Don't link host-utils.o if it's empty > > > > include/qemu/osdep.h | 4 ---- > > trace/Makefile.objs | 3 +-- > > util/Makefile.objs | 3 ++- > > util/getauxval.c | 8 ++++++++ > > util/host-utils.c | 2 -- > > 5 files changed, 11 insertions(+), 9 deletions(-) > > > > Thanks, looks good. Stefan, can you ack the first patch? > Paolo, Since Stefan reviewed the first patch, would you apply this series? Fam