Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3849286pxa; Sun, 9 Aug 2020 14:03:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1kpfJAgJXxVOVAExSxDEhHlVEd3b1DhgjXhQ4xkkADH+WAJ6khFyvZ/w72n6yyDA0xfgn X-Received: by 2002:a17:906:aed4:: with SMTP id me20mr19733693ejb.141.1597007032168; Sun, 09 Aug 2020 14:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597007032; cv=none; d=google.com; s=arc-20160816; b=SUR5colA1ODGluD7vWS5jXqPkn+f/D8a+5+y97k/Kcm4du5mkpGw1Sd9ab4vcOc5vs c4sgM51fS7wmGEbO9z6SMbB3pwWULM4KLIJ7Exqp0Pi25S9JgWGPbzE8OPcKN+ezpP+J fZpRQHneZh2/Qdd0Rsz2ZcpXuUFShQQwPKap5RCyqJRgjjTEXqps7L2MHZz8raYrHfGr FB5q4RWmO1B5WPmkmPf+jYZdJxRHbR7Cz3qy7HMzF7j0m2BHDzMwQIOxcIz2GDZaUv1r cwCNMV2QSaJQEhJmewnhaYlqil32DYFBCfVf3HoI5R94qTqlGSbL5+ItGhYG+9lK0k1/ p2tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8aCJEZf4WEBTwITZBbhB6tXQBzDbqQHz0bfAnaUx6qs=; b=CUrE5J54aU5w6o5VSvrrW/DTxdkjCfZSzCt7CQjMZT0GM6jU0pWlM3x4MSAUNnOvqx MoWTH3eOTQ+9MdfoOuMJOqXiCRkVoZaImvA8Mi+onmQdVc2m94LvjXzniXHpjh3FLH5F pazv0VPAKsUC6NVlP9Wi+eDz9X7I2Z0FJS0BMnhmGTNigg3F6P83AWmuqEjkTYCWpxDB wW4yUcx9w2Q+46lYUVFRN5CG4D/krujxUIHlOrEppZX8fAhjFsx54Jf02kmUQsflEwxk V1O9hV4ZWhwUuA1aNpBU0Ojytat+ea+Z4tvUBS5G+Eqy4omtBCmFudD/IHf7/ptdA6bn xdfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T6WXu9+x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si8374319edi.348.2020.08.09.14.03.28; Sun, 09 Aug 2020 14:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T6WXu9+x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726350AbgHIVA3 (ORCPT + 99 others); Sun, 9 Aug 2020 17:00:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgHIVA2 (ORCPT ); Sun, 9 Aug 2020 17:00:28 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F645C061756 for ; Sun, 9 Aug 2020 14:00:28 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id d19so3818670pgl.10 for ; Sun, 09 Aug 2020 14:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8aCJEZf4WEBTwITZBbhB6tXQBzDbqQHz0bfAnaUx6qs=; b=T6WXu9+xEDiJ7an8AcxVIStPcb1AdtIN3L1aO00LS4X5PRdZMPY5jR04uTlujVuaT7 kEk++vl2e0HBgGXnmycZT4T3AJTM9WazVKcAI7Ya3NE+yK3vktMd6OwJ9KA0aOCYYv9a 0VL5UeQ95TtvN0Y6P3MvoQhInCma3tsUdzzEFzl6IAZGNu181WePZO+jQ50Q0trva505 Tjo9MAsM3fZl8Rfdv7nXhUqPnOXWI22Pg4t3RA9IoW2rRQLLFleBcrnzYxJ9hiW7hTzq dX1WqUeg3jbOF0Um72qPTumDwnuRIMZCMs61PT+i7ob8x04hZhGpzZO/5tqc3iR2G92r /tYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8aCJEZf4WEBTwITZBbhB6tXQBzDbqQHz0bfAnaUx6qs=; b=V8neKcUYnfdUUaGq2IA0A5HmRL3T1AyTjpyHyIk9CoFVklLkivtCzr9MQgBkQfFNnr 99B0gr1qmqbKS182yap6LTBenbF6UO59NJWq/BUBMdHIPsyDShVgMhyJl/T/Kedq748W PtAYXmIrNv8Tfc4BmY6AQiXGIg8RA3oEuYK/51Gd2gLJ/XpDrI26DPCRacRpLNH88mZn lUoB8RPD1qJh5so2wmNn7X35RXZBX+kAeSpIDx99IMpAezslPiRvjsKtTLd70OI1yWrS lwM4B3fTlhS4Kk8dYQwuclJNz9lWQygCVGEGuBNmxc7YtWtL87xgvlU4sYFVUYAsy/n7 nCuA== X-Gm-Message-State: AOAM5317BCznM174NUM7VNe59rs0qodWbYolQ31t8KHXELAma2STnSUF RuX+AvzoODo63JZA97tZdhw= X-Received: by 2002:a65:6289:: with SMTP id f9mr19212430pgv.272.1597006827473; Sun, 09 Aug 2020 14:00:27 -0700 (PDT) Received: from thinkpad ([69.172.171.109]) by smtp.gmail.com with ESMTPSA id gm9sm17046793pjb.12.2020.08.09.14.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Aug 2020 14:00:26 -0700 (PDT) Date: Sun, 9 Aug 2020 14:00:56 -0700 From: Rustam Kovhaev To: Greg Kroah-Hartman Cc: xujialu , masahiroy@kernel.org, Jonathan Corbet , Andrew Morton , Linux Kernel Mailing List Subject: Re: realpath "No such file or directory" warnings when building tags from KBUILD_OUTPUT directory Message-ID: <20200809210056.GA1344537@thinkpad> References: <20200808202822.GA597061@thinkpad> <20200809071627.GC1098830@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200809071627.GC1098830@kroah.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 09, 2020 at 09:16:27AM +0200, Greg Kroah-Hartman wrote: > On Sat, Aug 08, 2020 at 01:28:22PM -0700, Rustam Kovhaev wrote: > > running 'make ARCH=x86_64 COMPILED_SOURCE=1 cscope tags' in > > KBUILD_OUTPUT directory produces lots of "No such file or directory" > > warnings from realpath > > > > it seems like commit 4f491bb6ea2a greatly improved tags generation when > > COMPILED_SOURCE=1 is set, but should we add "-q" flag for realpath in > > all_compiled_sources() or probably it would be better to fix root cause > > and make sure that for example we don't try to find objtool sources and > > exclude other similar dirs during tags generation? what do you think? > > > > ... > > realpath: special.h: No such file or directory > > realpath: warn.h: No such file or directory > > realpath: sigchain.c: No such file or directory > > realpath: sigchain.h: No such file or directory > > realpath: orc_gen.c: No such file or directory > > realpath: objtool.c: No such file or directory > > ... > > Care to send a patch for this? hi Greg, yes i do, thank you!