Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5631681ybx; Sun, 10 Nov 2019 17:49:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxqmF73MEvAb/WZx8EKRk9LvA891erGYt49aOawLKEzl8TbTrazYPKF5BD8QA/U35e+BN8J X-Received: by 2002:a17:906:f0c9:: with SMTP id dk9mr20527772ejb.56.1573436951172; Sun, 10 Nov 2019 17:49:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573436951; cv=none; d=google.com; s=arc-20160816; b=qCXdT+LkUEyK6D8buVDawiutb5sKEoT1RYTp+hjBZFjYxUXg0fB7GueD7O0no8UdBP s0JbIa5zY6fftB+FEe18sUcYRXOm/XJlihtpkSYu5d/DkaVSLjaHVIFsqH3OaTFYyvcm ihII2mlVFXIu+aXk/A22n8XulA2TwDo7LyDRk6kBTkHpkbaqZ32PSHcQi/rPulmN4cRf l6si+8FsAybhCb3ZeAfagfmSetms8NAuESizHCZFsRBmSM1USmx9S9wF7IRdn+RDf+Pt IqwzUfbSuAfSqXtQFURSSwLbxpuyaENJn8xYkf1N2JPz5gBwR3YYyDxWec9f7ZBHQ5aa +kEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=WbMgIOtYDdMgY2/d3IuvIcnvLizbq0pCW8eDAZ+z/V4=; b=dlF36ii+9qSRRiN6ehQMORQINPx/avZxJY6721Fc3sm+K7dJUYzaNccusIUkwncpk1 jLijpBO2YL7Gmw+/lgEDLCf4XtfkODa8vfVm0rMGzXmmgLbdx/GNXuHGlglsU014Wkeu u+ANy2LMn440734tw+2yF1kT0oTSCmpdf57U4OaGMl+DymLJklnR1su7nx5bqPjBGzTd hPSAXzJ0e7eQx9kns4K+kU9XYulralUw5LJaihLFoMgth+9T4ClGuyFGL+HCVBvQJ6OE kiVAxLse9ur5yfTOMe/4/jXRO6Whma8opkQj+Z7pfvcimMjF22T0qjaQQLjhOZOCDr2G bWlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=diTngbxI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si70184ejb.120.2019.11.10.17.48.47; Sun, 10 Nov 2019 17:49:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=diTngbxI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726823AbfKKBsN (ORCPT + 99 others); Sun, 10 Nov 2019 20:48:13 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:36331 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbfKKBsN (ORCPT ); Sun, 10 Nov 2019 20:48:13 -0500 Received: from mail-vk1-f180.google.com (mail-vk1-f180.google.com [209.85.221.180]) (authenticated) by conssluserg-01.nifty.com with ESMTP id xAB1lfOI017499; Mon, 11 Nov 2019 10:47:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com xAB1lfOI017499 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1573436862; bh=WbMgIOtYDdMgY2/d3IuvIcnvLizbq0pCW8eDAZ+z/V4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=diTngbxIfddXhY00gmelzpcj+vztYcwyI8La863aBk04hqAdnHUmKZNWSLd7fYLPF PC1sxcYmHccYh9v68zFZacKRCM6Hy8vkXgg3Uq4sBY1JufQI/ChM2em2ayBHCv4TpX EgkJFHmhi68bAUDT1x0A8sRqNtC3VGyIPpPNcGZjW8wazzo8WsYbqzq1djFHwesPic IBgqDyUEV4gAaZrWCutpqFXNFm6iIM7uxQcFrpNfo4cSB+DEbs2SSmX+VCu48b3BQj OOU67AdKryxv7+MHXFVztSb3XL2OcPnTPLvydhFArDPGAqVO+TCldMUsbtahK+HEN0 L9u9w1eEQR+gQ== X-Nifty-SrcIP: [209.85.221.180] Received: by mail-vk1-f180.google.com with SMTP id d10so2794969vke.3; Sun, 10 Nov 2019 17:47:41 -0800 (PST) X-Gm-Message-State: APjAAAXWY8hHrZK2IA6wAB+myJGjDQeds1+PLKrXx6WT4kp0Jwqq7jsa tZpepWzKZXSKwdhn7swhXnDHAq78b1Yu8wc4xIw= X-Received: by 2002:a1f:6a43:: with SMTP id f64mr16835572vkc.96.1573436860882; Sun, 10 Nov 2019 17:47:40 -0800 (PST) MIME-Version: 1.0 References: <20191111011106.18427-1-linux@roeck-us.net> <20191110.173203.1243596361382467520.davem@davemloft.net> In-Reply-To: <20191110.173203.1243596361382467520.davem@davemloft.net> From: Masahiro Yamada Date: Mon, 11 Nov 2019 10:47:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] sparc: vdso: Fix build failure seen due to kbuild changes To: David Miller , Guenter Roeck Cc: sparclinux , Linux Kernel Mailing List , Linux Kbuild mailing list , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 10:32 AM David Miller wrote: > > From: Guenter Roeck > Date: Sun, 10 Nov 2019 17:11:06 -0800 > > > sparc64:allmodconfig fails to build with the following error. > > > > unrecognized e_machine 18 arch/sparc/vdso/vdso32/vclock_gettime.o > > arch/sparc/vdso/vdso32/vclock_gettime.o: failed > > make[2]: *** [arch/sparc/vdso/vdso32/vclock_gettime.o] Error 1 > > make[2]: *** Deleting file 'arch/sparc/vdso/vdso32/vclock_gettime.o' > > make[2]: *** Waiting for unfinished jobs.... > > > > The problem bisects to commit a3de7a72c517 ("kbuild: change > > *FLAGS_.o to take the path relative to $(obj)"). > > Duplicate the x86 specific defines from this commit to the sparc > > vdso Makefile to fix the problem. > > > > Fixes: a3de7a72c517 ("kbuild: change *FLAGS_.o to take the path relative to $(obj)") > > Cc: Masahiro Yamada > > Cc: Marc Zyngier > > Signed-off-by: Guenter Roeck > > Acked-by: David S. Miller Yeah, I had submitted a fix a long time before. https://lore.kernel.org/patchwork/patch/1130469/ I do not know why it was not picked up. It is OK whether any patch is picked up as long as the build error is fixed. (I think CFLAGS_REMOVE_vdso32/vdso-note.o should be added too, though) -- Best Regards Masahiro Yamada