Received: from eggs.gnu.org ([2001:4830:134:3::10]:36940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xZS-0005iV-F3 for qemu-devel@nongnu.org; Tue, 10 Oct 2017 12:39:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1xZP-0006lw-Bb for qemu-devel@nongnu.org; Tue, 10 Oct 2017 12:39:54 -0400 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:43146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1xZO-0006lJ-VH for qemu-devel@nongnu.org; Tue, 10 Oct 2017 12:39:51 -0400 Received: by mail-pf0-x231.google.com with SMTP id d2so14602542pfh.0 for ; Tue, 10 Oct 2017 09:39:50 -0700 (PDT) References: <20171010102655.23322-1-pbonzini@redhat.com> <11c27aeb-2f07-665a-bb2a-1a47c46bca19@redhat.com> From: Richard Henderson Message-ID: <025cc2d9-df73-71a2-6b08-6c6a64cf17dd@linaro.org> Date: Tue, 10 Oct 2017 09:39:46 -0700 MIME-Version: 1.0 In-Reply-To: <11c27aeb-2f07-665a-bb2a-1a47c46bca19@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] build: remove CONFIG_LIBDECNUMBER List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org On 10/10/2017 07:57 AM, Paolo Bonzini wrote: > On 10/10/2017 16:47, Richard Henderson wrote: >> On 10/10/2017 03:26 AM, Paolo Bonzini wrote: >>> It is used only by PPC TCG, so just move it in target/ppc/Makefile.objs >>> >>> Signed-off-by: Paolo Bonzini >> >> FWIW, it *should* be used by target/s390x as well. >> >>> diff --git a/target/ppc/Makefile.objs b/target/ppc/Makefile.objs >>> index f92ba67ebd..ba61012bef 100644 >>> --- a/target/ppc/Makefile.objs >>> +++ b/target/ppc/Makefile.objs >>> @@ -15,5 +15,10 @@ obj-y += int_helper.o >>> obj-y += timebase_helper.o >>> obj-y += misc_helper.o >>> obj-y += mem_helper.o >>> +obj-y += ../../libdecnumber/decContext.o >>> +obj-y += ../../libdecnumber/decNumber.o >>> +obj-y += ../../libdecnumber/dpd/decimal32.o >>> +obj-y += ../../libdecnumber/dpd/decimal64.o >>> +obj-y += ../../libdecnumber/dpd/decimal128.o >>> obj-$(CONFIG_USER_ONLY) += user_only_helper.o >>> obj-y += gdbstub.o >> >> I suppose this isn't horrible, if it needed to be replicated. > > If it has to be replicated, it should be > > obj-y += ../../libdecnumber/ > > I'll post v2. I think I wasn't clear -- s390x does not yet use libdecnumber because we haven't written the emulation instructions. But we should do. It shouldn't even be particularly hard, since all of the heavy lifting is in the library itself. So no need to add anything at the moment; you've simply answered my question about what *should* happen. r~ r~