Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp301525pxb; Thu, 31 Mar 2022 05:57:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYqdpvNXwiHsrjlnK8bLjWvXbXHA3WIyR6RHmW67tMVz21x39cm5Me4WFHoyxMY37CPBt5 X-Received: by 2002:a05:6a00:2485:b0:4f7:37cd:d040 with SMTP id c5-20020a056a00248500b004f737cdd040mr38944056pfv.55.1648731427057; Thu, 31 Mar 2022 05:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648731427; cv=none; d=google.com; s=arc-20160816; b=LOEWD88Q/xaeaozK598KwrrVG2tOu9vSjgcPMzZIxPTFr1SG8nsrilKlE71/1yL+Bw oN7tdu4j25c55/y6eYlCkOl9f2ZECisU9n/Bs1mQc7HfnDoNqtfTTSTttfGgw+aV8S9W f7h+XTcAQ6Q/4dvuKqLAps33zC+NMHVMYgGbL6ztdd5GgcGwDqfedi7riVWOCScuP3n2 KD9NP44KWezX7HnMaIw7WrBx1hreSuQnRwvUVxscqLyUHYJOLzuQfrfqJpCrbNHaCnHH 97d7iRbJ7SHJDa35oAFl66xGSbMfCao3xln7mFATdttB7AuFIxSeWINPoMwioxuEQklw 2+xQ== 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=0tIA0n0PFKdD+i5mJMn4ub2X0H84x0kRjS0dtMRbDhI=; b=xlziEnAork2uE3JlM9nYPtT3lMiI3SZtlmUFDjMH60lsKztrajrvGL750NmyUCKh3F pXmdMRMpFdC6ZlmknfkNRaIh5lbhKJK8i/rX+pJN99OTWqdgBSL7+/aKoMiryR235k3c sKeZX6+32aonf35Sh0NBRkyOaJQVsrrgTD6I6eN1shphcL9CnXmO3a+aynG+cqhahl/P i86JnP9tXyMt6Qiq/IAFJ/5itc4/CRHMlx5ND0Aqa/iKliV1Qd87iZpDUIJNuQufRCk5 QRXMZ71ZoQVgJZ1IzPwmKqdzuUSv5yT8P3XB4yKoxP5ZQHgMRdRCVJxEHOZAxYQVB8+r pZtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wC03OYAr; 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 e19-20020a637453000000b003816043f0c5si25016017pgn.698.2022.03.31.05.56.52; Thu, 31 Mar 2022 05:57:07 -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=@nifty.com header.s=dec2015msa header.b=wC03OYAr; 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 S233805AbiCaJWi (ORCPT + 99 others); Thu, 31 Mar 2022 05:22:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233820AbiCaJWe (ORCPT ); Thu, 31 Mar 2022 05:22:34 -0400 Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BF0A156C48 for ; Thu, 31 Mar 2022 02:20:41 -0700 (PDT) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 22V9KOR1013625 for ; Thu, 31 Mar 2022 18:20:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 22V9KOR1013625 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1648718425; bh=0tIA0n0PFKdD+i5mJMn4ub2X0H84x0kRjS0dtMRbDhI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=wC03OYArkGrABy/eg2KYi6BZenIAP7WkcOfLz/lYLOoffdQZvC+nAkX1nyr5KWpuS iLzd5X8csdOPnnv7w7/McvpWA1QhsvV1Ldcq8r8UIc07LDX8b+HxtiefkLzYP1zc6I jFjJ/trBEuluud4w/0LMKKsiPiUHAw8RoUUGXTTAtIVcyXWPoLl7OeF+Yd7io91Snh vrI7PDO9oRUhI5/cNGxr6rNvGlFkAvkjZZYRRY12LSaSVpPMAq9zZGRnyMvcX6VG/z U82kCYU1WskakrndJ+5cUiN8t2UrLhmIlgqA1ZCGgYobipmItxeSuLwmcBPUA2Ecck 6cWJ7rCTlH/sw== X-Nifty-SrcIP: [209.85.210.170] Received: by mail-pf1-f170.google.com with SMTP id u22so21410347pfg.6 for ; Thu, 31 Mar 2022 02:20:25 -0700 (PDT) X-Gm-Message-State: AOAM531lQ2+91W0bluXji7ub+j2fODdjQZKg/83ncFVxS+SLaLcKuehz eyrrbKcC9KnpVXXP0WNGHeoVF06NNZJit/BcMYQ= X-Received: by 2002:a63:dc53:0:b0:381:7f41:3a2d with SMTP id f19-20020a63dc53000000b003817f413a2dmr10147230pgj.126.1648718424144; Thu, 31 Mar 2022 02:20:24 -0700 (PDT) MIME-Version: 1.0 References: <20211030175258.1716178-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Thu, 31 Mar 2022 18:19:38 +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=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, 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 On Thu, Mar 31, 2022 at 1:22 AM Russell King (Oracle) wrote: > > 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. Done. https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9189/1 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! -- Best Regards Masahiro Yamada