Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp775217pxp; Fri, 11 Mar 2022 14:49:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7UjUUBUvZ7QoG0fSMpR0HEvs4agQC2MHtq5mpGGouITlK/jd/86JcZfqmEdq3N/vAUZN2 X-Received: by 2002:a17:902:bb93:b0:14e:fcef:7f0b with SMTP id m19-20020a170902bb9300b0014efcef7f0bmr2536886pls.28.1647038963501; Fri, 11 Mar 2022 14:49:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647038963; cv=none; d=google.com; s=arc-20160816; b=TEpyDgIsX5hrikGxK3pxmgH7ElClAIyq295Bv9YmLkQWwaCob568jItls67RXtD+Iz ECkBQEA0NeQtxkwKUVDtV606s3KtWGM1ej/WgmoYJiF3cI1hxbqlrs/p82knsslE1H4d +CYb+kV7VHdq3B88ngeYwJwLkl1Q8tP0Co9tUPjFYfr7hinM+T1ccX+slaRdT3rm4RmG I+Ygyl06UeKqFMy6GIfFtfnyHpy1z5ZP6p92zv2HKnLkxSXY4YIzSRbRZVesZwfknZDL f6LMosVuQpxQss0WvfjUg1MOD7pViVUbtWhLyuAwOeYrzfyfG0cVQTDdb4Og/firvahB S0cQ== 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=P9CckRWFX9nuVoHNgZ4r3Zf8OiO94SzMZDbZRwU+9Fg=; b=DA7py3YK1x5hbJOjFlfqrh608WFjAgydyj6ii5EhF7nOkUEIB2KHq5ngkQlvnQOZ+e xNWc56FgBbX9yrElP+qrekUKHZW8YhabYr5AZQecCXLvaRn7rMoh/En93jIjAVfa1h7A 4pqz8AfU7dGhfmOAWAZl/YslTN1Hq6EtFG/MCWnbNV1Ch38GhQIm9z4tKVx0lG9LqG9u ZwSNtt8zUyYHbc0+vofyssLKVF4FJQoWCAXg4zuGPV0QEpm3K6dwTMY3d33l5WDhYK7c 1Z2F/ZfLpi+6a0UrkYxIRQ6CcjU+CtNzkmu+3UUVtgrlSdB8Ireodh/5QN+8jNe59m1W ygQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=lpu61ZeC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u3-20020a17090a2b8300b001bd14e0306dsi6100189pjd.69.2022.03.11.14.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:49:23 -0800 (PST) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=lpu61ZeC; 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=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 BA20634730F; Fri, 11 Mar 2022 13:46:58 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234994AbiCKMIL (ORCPT + 99 others); Fri, 11 Mar 2022 07:08:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231795AbiCKMIJ (ORCPT ); Fri, 11 Mar 2022 07:08:09 -0500 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 DE8461B124E for ; Fri, 11 Mar 2022 04:07:06 -0800 (PST) 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=P9CckRWFX9nuVoHNgZ4r3Zf8OiO94SzMZDbZRwU+9Fg=; b=lpu61ZeCEFFnDww2NqtykEn/Qt Wlqcrw3bu18X0kcFiCk8xEahxdq7msRrxaUDBmO2iGLsf9eBDnwmv4JHKEFU0EDPUuCWO20DsWJD2 /j548vMfOJCqKCq00ErBazDfx1ay8SnWnNoyICEgSsAncMki7RJFlwkgl2Cegfm5loRI9uz8hkzug DRPzeyacMzWsMjHYdA2DHUupFbPp+gbd4KVZqtWTp/SE6YLvoHmk9gZ6AUdwgZ8UT/3YT+fkBsfvm vmmQv21M6icZRGzARyVcJTYPS3tOaZYPuHPLPc8QQ06gTOAVh18haU0nRglmVIr9LaAj/df0WqrXI 7ZONLQ2g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57792) 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 1nSe2x-0002XR-Vu; Fri, 11 Mar 2022 12:07:05 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nSe2x-0001a9-Mf; Fri, 11 Mar 2022 12:07:03 +0000 Date: Fri, 11 Mar 2022 12:07:03 +0000 From: "Russell King (Oracle)" To: Masahiro Yamada Cc: patches@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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: <20211030175258.1716178-1-masahiroy@kernel.org> 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 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. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!