[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] build-sys: Exclude empty object files when
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] build-sys: Exclude empty object files when linking libqemuutil.a |
Date: |
Wed, 03 Sep 2014 09:53:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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