From patchwork Fri Jun 9 05:24:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 9777191 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 66BC46034B for ; Fri, 9 Jun 2017 05:25:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 572D627F8F for ; Fri, 9 Jun 2017 05:25:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49C0E28546; Fri, 9 Jun 2017 05:25:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 513F127F8F for ; Fri, 9 Jun 2017 05:25:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751510AbdFIFZH (ORCPT ); Fri, 9 Jun 2017 01:25:07 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:34869 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbdFIFZH (ORCPT ); Fri, 9 Jun 2017 01:25:07 -0400 Received: by mail-pg0-f67.google.com with SMTP id f127so6662345pgc.2; Thu, 08 Jun 2017 22:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XwvJyRri4d7LRTrbZv3MYpat7O8gvTK44zX3QkUls6Y=; b=QAVtKOB7jYXzxDYNykq0yQkwMDl7Xklo92Hsi9SmvSoG14IYQG/32h9W3bCdiQpmsY 80WyouTZTAL3Bd6qda/aXwwP4ppciptkNIruSBfR/4TfKmxj1VVtkVRHBVdfW5v43Da6 dL93WCXfPW9JJM8dlDeCQ98yDRfh1mYIvQswpUNPViX66z0vM8ptjKZ2v9pR4W4mS+TD fWl47Oe6mZCXA4zxFy8EH8ZttzBkVtLYPs90ll3hxd8+77/CI5o1rOCpk2L8tcMogOFn rO6ZgSB1SP2TPHp+kG2o+ddLJPGNE2RaK3fUa/zfd0HfHwxEZG0JyXZ2QZK+no9EY5ZT bvLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XwvJyRri4d7LRTrbZv3MYpat7O8gvTK44zX3QkUls6Y=; b=l9J4WwlrALWPrki9WWR0By57B9vfDyNEBc+fHwbj+cdAWuSZobqVIpWsGalk5xDBeX 6IxE9CM8e0ZgzDqCtQqMCRf5yo8oipfk005xxc18xTM4yLRNz+pB81i+I8wOfPRICqd7 ZxDac6I3xJscqnPkY6nDdKDlEqhYp6AUTJdO82VdC3cP9DXDKXASdfANZDQOTmHOCxRJ P7Mp0KdnJ1o10+eE6mov/FWPKi8Abwkiz3SIEjtiwn07fk8BFWbb5UJ/V1ZfFK1GHEes sE2gZZXgqGvanej/rp9e0QRpNC0BGzv8QecGrblYkiB9aWfOObayOnckwzm9P7tZVs4r QVdA== X-Gm-Message-State: AODbwcBpP1dzFQlgAI1RzDhh7rChnpJKcHUi+04I7nQtAXi7P1j0OP+b OuCK+zQ2vifsXe5J X-Received: by 10.98.224.4 with SMTP id f4mr39367500pfh.72.1496985906232; Thu, 08 Jun 2017 22:25:06 -0700 (PDT) Received: from roar.au.ibm.com (14-202-185-133.tpgi.com.au. [14.202.185.133]) by smtp.gmail.com with ESMTPSA id h15sm135375pfk.120.2017.06.08.22.25.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 22:25:05 -0700 (PDT) From: Nicholas Piggin To: linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org Cc: Nicholas Piggin , Masahiro Yamada , Michal Marek , Linus Torvalds , Stephen Rothwell , Jeff Dike , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net Subject: [PATCH 4/5] x86/um: thin archives build fix Date: Fri, 9 Jun 2017 15:24:16 +1000 Message-Id: <20170609052417.561-5-npiggin@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170609052417.561-1-npiggin@gmail.com> References: <20170609052417.561-1-npiggin@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 # # Match symbols in the DSO that look like VDSO*; produce a file of constants.