Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp29338pxb; Wed, 30 Mar 2022 22:01:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPn7MoE7LSOoLOo2Q9xrgvLTsxg5+oCU18DDVSpTAzIiqdopiABLsBhSEKn0L5C9ObC2pH X-Received: by 2002:a17:902:d488:b0:154:6df6:1e81 with SMTP id c8-20020a170902d48800b001546df61e81mr38613497plg.105.1648702909704; Wed, 30 Mar 2022 22:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648702909; cv=none; d=google.com; s=arc-20160816; b=LWs9BejM03Pn9YnKlYnebR7NFeipOyLW7nd/4W1Fo5Wwp9s/moZ4fIGC0Ra+1WA5bZ tNqj8l45EoWhuc99oJQPub10gsUeH5aKgtAc1MSud7VmaFSeUu6PZTAD7YwDr8qWhASS GlLZvJEJXIueF8uZiyLvE6Qg1RKPuiScJckyc0Qn4Pc2A0ZQoL50KfBwR41faYdiFLim qBRy8QcZsZ86kHHeI3vVK2Ui6/88n58ytW4Vi6tT/t5xIYa9Fup/jbmDN3BXkjwUGFJ5 7+aqXWPSwTEKSi8ZDU7gJLguuE2f8RRhE35qspuuH932qgah/tWkZKHEZ8yQc+kUx5Z8 GIkQ== 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=hvxDLidc/BvcilqIXkY+wQXhU96uSD+vF+LR3M1O2fM=; b=gjGUl6gdtUz85Ppu6rWXcs1jOOlMVI4lMj8MjX8n+kKs94shxZyAiNaub6tp+BgnQN JutQg9mGJnXurHFgOj/L/YJ9nuB9y36WhNZDfGpoPm8KxGzL4y2wpZrM1jyR61/OipLi gV8J9lEw8g+0fCHSdRKcvqMUdbRnQIq633pkkCHZ0KflQ8GxUnvSuyqC4VGWhhr1YCH4 w+cOoZjPsMLBRhjIhXLoXQo4207BtGewvfPZR3QODqgkDEU4gHHAJafg1yJTc73/W/st xExtH6i8wkdD5v2xNCMmZuxmMpAQ1P0tfrMdQmkVf75XOgCOD3IOi1twBfc4SFNgj+VL TJhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=z89yXMmV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z12-20020a63d00c000000b003816043f033si22728282pgf.552.2022.03.30.22.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 22:01:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=z89yXMmV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25C4125B927; Wed, 30 Mar 2022 20:37:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348772AbiC3QYX (ORCPT + 99 others); Wed, 30 Mar 2022 12:24:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346416AbiC3QYV (ORCPT ); Wed, 30 Mar 2022 12:24:21 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C492ABF61 for ; Wed, 30 Mar 2022 09:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hvxDLidc/BvcilqIXkY+wQXhU96uSD+vF+LR3M1O2fM=; b=z89yXMmVTiEciHwphPDg3LH+YO HqnyQHc24QwDAx9/2+e+aIVoLiEIisljXAXKgrvXMhAdHYz60p7Z8FzlDlJDhcd8HfeDxzxQwqj8v KMgyhrom5PXVFJ54nSlyEXBFr2ntnRJFkNB72/EMizmXJ87MhP3XGgr3I7IH70H32lDw38ibOHcxC IKPYvuA1KorX8Ot1uAnE739/2wNMm0jo+q5ffCnUzrTG6hrUVbvsu5coUsWhWH61Oe6eHUDE20ggh GYfrGVxgabiK67T3uHT7zvLbn1Zl1UNppRaRRNn+V9AZU+9ZmPoBOIzQuBu/mJRzq39ycLxgrslWb D9rmDQuQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58018) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nZb5e-0003Rl-Kh; Wed, 30 Mar 2022 17:22:34 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nZb5d-0006l5-MF; Wed, 30 Mar 2022 17:22:33 +0100 Date: Wed, 30 Mar 2022 17:22:33 +0100 From: "Russell King (Oracle)" To: Masahiro Yamada Cc: patches@arm.linux.org.uk, linux-arm-kernel , Linux Kernel Mailing List Subject: Re: [PATCH] ARM: decompressor: do not copy source files while building Message-ID: References: <20211030175258.1716178-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi, Your reply was too late for me, I've been away on vacation from 14th March until now... and now I've got a whole truck-load of catch-up, so it's likely I'll forget to sort this. Please send a patch to fix it, thanks. On Fri, Mar 25, 2022 at 11:54:07AM +0900, Masahiro Yamada wrote: > Hi Russell, > > > Was this issue fixed? > (I see nothing happened in linux-next yet) > > I will not send a patch because I assume you will > fix this by yourself. If there is something you want > me, please let me know. > > Thanks. > Masahiro Yamada > > > > > > > On Mon, Mar 14, 2022 at 1:35 AM Masahiro Yamada wrote: > > > > On Fri, Mar 11, 2022 at 9:07 PM Russell King (Oracle) > > wrote: > > > > > > On Sun, Oct 31, 2021 at 02:52:58AM +0900, Masahiro Yamada wrote: > > > > As commit 7ae4a78daacf ("ARM: 8969/1: decompressor: simplify libfdt > > > > builds") stated, copying source files during the build time may not > > > > end up with as clean code as expected. > > > > > > > > Do similar for the other library files for further cleanups of the > > > > Makefile and .gitignore. > > > > > > > > Signed-off-by: Masahiro Yamada > > > > > > Hi, > > > > > > I am now seeing the following every time I run a build: > > > > > > GEN Makefile > > > CALL .../linux-rmk/scripts/atomic/check-atomics.sh > > > CALL .../linux-rmk/scripts/checksyscalls.sh > > > CHK include/generated/compile.h > > > Kernel: arch/arm/boot/Image is ready > > > AS arch/arm/boot/compressed/lib1funcs.o > > > AS arch/arm/boot/compressed/ashldi3.o > > > AS arch/arm/boot/compressed/bswapsdi2.o > > > LD arch/arm/boot/compressed/vmlinux > > > OBJCOPY arch/arm/boot/zImage > > > Kernel: arch/arm/boot/zImage is ready > > > > > > In other words, those three objects are always rebuilt even though > > > they haven't changed. > > > > > > I've tried removing the arch/arm/boot/compressed directory in the > > > build tree, but that doesn't make any difference. > > > > > > Running with V=2 shows: > > > > > > AS arch/arm/boot/compressed/lib1funcs.o - due to lib1funcs.o not in $(tar > > > gets) > > > AS arch/arm/boot/compressed/ashldi3.o - due to ashldi3.o not in $(targets) > > > AS arch/arm/boot/compressed/bswapsdi2.o - due to bswapsdi2.o not in $(targets) > > > > > > It looks to me like: > > > OBJS += lib1funcs.o ashldi3.o bswapsdi2.o > > > > > > in your patch should have been added before: > > > > > > targets := vmlinux vmlinux.lds piggy_data piggy.o \ > > > head.o $(OBJS) > > > > > > Please confirm. > > > > > > Sorry for my late reply. > > > > Yes, you are right. > > > > OBJS += lib1funcs.o ashldi3.o bswapsdi2.o > > > > should come before the 'targets' assignment. > > > > > > > > > > > > -- > > Best Regards > > Masahiro Yamada > > > > -- > Best Regards > Masahiro Yamada > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!