Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4614254imw; Tue, 19 Jul 2022 09:49:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEZO+hIW4/SFhrc1q4Lh+IyY5H11z4dEd8AJLkP2XhAkhZ2zfZhONHj1VNJW4vwJcLQcWe X-Received: by 2002:a17:907:7ea1:b0:72b:83cf:4ce9 with SMTP id qb33-20020a1709077ea100b0072b83cf4ce9mr31055410ejc.204.1658249391984; Tue, 19 Jul 2022 09:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658249391; cv=none; d=google.com; s=arc-20160816; b=J6iUJCRTooai0IcjgXzDOO7Yhx1661lLK3Vs4zM2e+Llehb/Byl8Ucz0arCfD3XNFf 97xgvEOBxfcw0rttjr3fb09RXpv+nvqhH8jNDJa6jZs0r7VT4+w92iraj75Zk/2UQ7je IMF3E9fCMfTEEtX7ScJe8H2stG4joqwcNIvwlsLiplaqkla4AkIkGlLv1vqXcE3A03C0 QZKFVfchVojBj0/k3B5MjLe9oEEmRqYdtYO+vyuuWXkCbABhALTvkWFDH32cwJv0nRkB e3FRADPD7UW5oQNH1hxeDkGr+hCr6x6pjDPta7Tf0vbTvVE5IxZrbKHRvJhXgNRor4zl 8J1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wTmgtyPtcyc3/RLM9PHJN+mjnot95Y+nQGDY3AbCcZg=; b=jb6xUISyjInbqBQac741r/F9apLdFbeSeQQDMqO10eU4MPHrxcnm/l5Q/DUglMvx02 SWlUwDOJejJPI5l4zyL6BLr/sz2McGHO4h05h6+5gxlXDPDETGuLVhafufg0kp58vC+H 9zoxq1kWhazrL5dAdSJkv7u7eRAFPXkf8Z6DzkrV+QSSIYR10nt8tWj6gZU1yeyb/7Zb d9rHzyQFvrvQDnfTiGIqWpC5ojCQttfkT1KcuAXrLDQ1dTQfvhypSgk9StjY9Pg6LONc nLv7gBQ/1z29C7FAkHx+Mm9se95/zGA8WW2nxZsQfjmTS5bnPC5xc4oG6zyNTxemPmHQ nZqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h1/TR9XC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a056402120400b0043a55e72d6asi18729086edw.248.2022.07.19.09.49.26; Tue, 19 Jul 2022 09:49:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h1/TR9XC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231609AbiGSQjt (ORCPT + 99 others); Tue, 19 Jul 2022 12:39:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiGSQjr (ORCPT ); Tue, 19 Jul 2022 12:39:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 931F445043 for ; Tue, 19 Jul 2022 09:39:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5CBC3B81C0A for ; Tue, 19 Jul 2022 16:39:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 114C9C341C6 for ; Tue, 19 Jul 2022 16:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658248784; bh=0W/QCIeJd/PTxapDGvllkrZS/++cW7WMKwFqOsxn48A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=h1/TR9XC0U9T6KEybM7/vYJRPkl3WNGPVrjZ/PrEsMGeQQE6EodjPK5Dqz0a/YiZI +gO8J/yVtI51Q9rRyx7eQKiEhdE33c52waKA+LfyMeOuGvZoYePJ9m5WPnQJZ3vHYd I257gq5tQKJH8gZQsy/r3zn/bt7rK7VeTf0Ct7BVTV5wmXCQrth6WG2e2ynSp2eHTn PrxP+uMK6+F/mrQu9Kz1RmYh2sUVlIJ9rSbvcQhv2r4OqDtBTSB3ZJTJuhnKjfbwjN cmE8haYiMpHIVYxDpdartSFYDx3G3tjSzEL/8LFI8ZBQp8PghliTBa8nkRNZc65Z1o cz9lOmZ6whnpg== Received: by mail-lf1-f46.google.com with SMTP id d12so25755239lfq.12 for ; Tue, 19 Jul 2022 09:39:43 -0700 (PDT) X-Gm-Message-State: AJIora/T3Sq/CM5/H08yOeOacVReeDNi6Z5JZzCZj+akkUtwMAzT8s/r MPQHqByqAM1Xvvc65Wa9SspR4U6HMLr/dotfBJI= X-Received: by 2002:a19:9101:0:b0:489:4f34:8c29 with SMTP id t1-20020a199101000000b004894f348c29mr16699932lfd.620.1658248782077; Tue, 19 Jul 2022 09:39:42 -0700 (PDT) MIME-Version: 1.0 References: <20220719132400.75407-1-emil.renner.berthing@canonical.com> In-Reply-To: <20220719132400.75407-1-emil.renner.berthing@canonical.com> From: Guo Ren Date: Wed, 20 Jul 2022 00:39:30 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] riscv: compat: vdso: Fix vdso_install target To: Emil Renner Berthing , Palmer Dabbelt Cc: Ben Hutchings , Conor Dooley , linux-riscv , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Guo Ren @Palmer Dabbelt Please have a look at the patch which fixes up the "make vdso_install" problem. I recommend it could be fixed in 5.19. On Tue, Jul 19, 2022 at 9:24 PM Emil Renner Berthing wrote: > > When CONFIG_COMPAT=y the vdso_install target fails: > > $ make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- vdso_install > INSTALL vdso.so > make[1]: *** No rule to make target 'vdso_install'. Stop. > make: *** [arch/riscv/Makefile:112: vdso_install] Error 2 > > The problem is that arch/riscv/kernel/compat_vdso/Makefile doesn't > have a vdso_install target, but instead calls it compat_vdso_install. > > Fixes: 0715372a06ce ("riscv: compat: vdso: Add COMPAT_VDSO base code implementation") > Reported-by: Ben Hutchings > Signed-off-by: Emil Renner Berthing > --- > v2: Add Fixes and Reported-by tags > > arch/riscv/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile > index 34cf8a598617..5cfbef613e34 100644 > --- a/arch/riscv/Makefile > +++ b/arch/riscv/Makefile > @@ -110,7 +110,7 @@ PHONY += vdso_install > vdso_install: > $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@ > $(if $(CONFIG_COMPAT),$(Q)$(MAKE) \ > - $(build)=arch/riscv/kernel/compat_vdso $@) > + $(build)=arch/riscv/kernel/compat_vdso compat_$@) > > ifeq ($(KBUILD_EXTMOD),) > ifeq ($(CONFIG_MMU),y) > -- > 2.37.1 > -- Best Regards Guo Ren