From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com ([210.131.2.90]:27033 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbdFSGVG (ORCPT ); Mon, 19 Jun 2017 02:21:06 -0400 MIME-Version: 1.0 In-Reply-To: <20170609052417.561-5-npiggin@gmail.com> References: <20170609052417.561-1-npiggin@gmail.com> <20170609052417.561-5-npiggin@gmail.com> From: Masahiro Yamada Date: Mon, 19 Jun 2017 15:21:00 +0900 Message-ID: Subject: Re: [PATCH 4/5] x86/um: thin archives build fix Content-Type: text/plain; charset="UTF-8" Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Nicholas Piggin Cc: Linux Kbuild mailing list , linux-arch , Michal Marek , Linus Torvalds , Stephen Rothwell , Jeff Dike , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net 2017-06-09 14:24 GMT+09:00 Nicholas Piggin : > The linker does not like vdso-syms.lds in input archive files. > Make it an extra-y instead. > > Cc: Jeff Dike > Cc: Richard Weinberger > Cc: user-mode-linux-devel@lists.sourceforge.net > Signed-off-by: Nicholas Piggin > --- > > Arch maintainers please give an ack if we can take this through > the kbuild tree. > > Thanks, > Nick > > arch/x86/um/vdso/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile > index d72dec406ccb..329406224330 100644 > --- a/arch/x86/um/vdso/Makefile > +++ b/arch/x86/um/vdso/Makefile > @@ -53,7 +53,7 @@ CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage > CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage > > targets += vdso-syms.lds > -obj-$(VDSO64-y) += vdso-syms.lds > +extra-$(VDSO64-y) += vdso-syms.lds I agree this line is weird, but where is vdso-syms.lds used? I removed the following, but it still built successfully. targets += vdso-syms.lds obj-$(VDSO64-y) += vdso-syms.lds $(obj)/%-syms.lds: $(obj)/%.so.dbg FORCE $(call if_changed,vdsosym) -- Best Regards Masahiro Yamada