Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2135764pxb; Fri, 25 Mar 2022 11:43:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr38QGGrV7rHAiDEbGDwRzQjuk4nxhG8G1Hpx16lU0XiRMt0/owDqpx1HotRcVgoaSWewR X-Received: by 2002:a63:6d4d:0:b0:398:1568:7f6b with SMTP id i74-20020a636d4d000000b0039815687f6bmr405448pgc.54.1648233803470; Fri, 25 Mar 2022 11:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648233803; cv=none; d=google.com; s=arc-20160816; b=CJMBUHXpsrKenPD700y9n3roTHznTG2sMMKKMgNzL0XZaAHfGZ8wj7Dv4pRba7pHUL tOLTuZpjY0X7eIToTUToAudHLwQYf+iGVI0ZziKEw60X4pkIpaCWYO9AIaSGJO5GZpkg 4OugyATgmpvdHuCiPdopEhQarTy3lNdk9JXkLrgnwTV9Mkkg1FnxALxpKM3XHx3FP8xN lRbReCp/dW/0pgK2JdCw1ItUlXr6WNDi1buZg+5RGZd1vsOVHdIc888iumbfhhWC6EhS Po25R1zdlkh0wgNYxvD3Cp7YFukBY9qhUvmbX3iAYVApfGAi0t3eRbkx27LIkYiAnPzY egQg== 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:dkim-filter; bh=A2XAHS4w/c6OQnt3DiSdCXWg3b9aQRGqC1QA2pCAfcs=; b=GvEghB6tIdJJe0byBwipnD35kofsme9CuQxe/vqsW8Z14zh8ri6vV080nd8k0U3NWP HqlpmdzTyeVpnRt/Xusno25TQZQhsRVv/DcFR4uUv1dXuDutQMKGGrSwdYKa+9ZQD3J/ Kf6jkjKnHHSc/h1iIYEruN4YWRk6WPefeFhwF3jAou0eLh0yftfJUbFEZJSwrax57259 JiEFrwVbiCy9y1ysEhk+0/C/58N/cJM0y6b7ClzA4Smc3AgJrm43g3EK/xJWFb8Z/fEt NsZdLlKwwjXHz496x1p06buvclYRhEnSQgG27XXqbX9zKub4g+igD+MvTiLZlRbfg0Ir sIXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=hPAxNkds; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o12-20020a056a00214c00b004fa3a8dffd0si3377048pfk.135.2022.03.25.11.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 11:43:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=hPAxNkds; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 27AA419F47D; Fri, 25 Mar 2022 10:59:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351044AbiCYC4k (ORCPT + 99 others); Thu, 24 Mar 2022 22:56:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346322AbiCYC4i (ORCPT ); Thu, 24 Mar 2022 22:56:38 -0400 Received: from conssluserg-04.nifty.com (conssluserg-04.nifty.com [210.131.2.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 825935373A for ; Thu, 24 Mar 2022 19:55:05 -0700 (PDT) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 22P2spT7012786 for ; Fri, 25 Mar 2022 11:54:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 22P2spT7012786 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1648176892; bh=A2XAHS4w/c6OQnt3DiSdCXWg3b9aQRGqC1QA2pCAfcs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hPAxNkdsEK0j8nwHp5LgeC2S5Yj2cgvSvGrKUgWA13KHHBq3IglTmMv/XlT7oQE5U GyqOeLzCh+yU5AY6ochaPey8ARdcRz+B6/fjHmB2edmn0caEFmjyNO2uUoKeQn1JVz lEBePINEBGv/qwVuqAbSxqqI+oJdYYlsgG2vAXXweDKn/10kf58Xm+LyWJu7fzO+J2 fVsEjQ5XcoBJJxBpN5rdI8S0vuL6AVSXpXHO/dRQHHAuv42vo3fa3G2QA14mz8PDCx pU/BfUQO2tzLUC4bUsKfieKs78Vf6sxusSXetAHxQEL4KsVFbWH+VfMkxwn+a+Vyng S566oqU0PJyWw== X-Nifty-SrcIP: [209.85.214.181] Received: by mail-pl1-f181.google.com with SMTP id j13so6726076plj.8 for ; Thu, 24 Mar 2022 19:54:52 -0700 (PDT) X-Gm-Message-State: AOAM531qrtpZhP8zT+PuXQni6E4JaAIJ2bWlfg0I66HbjD+7/HpM7GOH CP/Ooqi92210RuNDP2rqRCy+Zs71g8TEKkXLLvw= X-Received: by 2002:a17:90a:1108:b0:1be:e1bd:e2f0 with SMTP id d8-20020a17090a110800b001bee1bde2f0mr9963550pja.144.1648176891365; Thu, 24 Mar 2022 19:54:51 -0700 (PDT) MIME-Version: 1.0 References: <20211030175258.1716178-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Fri, 25 Mar 2022 11:54:07 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: decompressor: do not copy source files while building To: "Russell King (Oracle)" Cc: patches@arm.linux.org.uk, linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 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