From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP5NS-00079Z-0k for qemu-devel@nongnu.org; Wed, 03 Sep 2014 03:53:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP5NK-0004Ee-0a for qemu-devel@nongnu.org; Wed, 03 Sep 2014 03:53:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP5NJ-0004ES-Pc for qemu-devel@nongnu.org; Wed, 03 Sep 2014 03:53:05 -0400 Message-ID: <5406C8DC.10804@redhat.com> Date: Wed, 03 Sep 2014 09:53:00 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1409715896-14322-1-git-send-email-famz@redhat.com> In-Reply-To: <1409715896-14322-1-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit 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: Fam Zheng , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Stefan Hajnoczi 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