Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1624373rdb; Thu, 7 Dec 2023 04:44:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGayXX1CcPvixLuX9XsKWcooYe04hzJTBeXm8Da2XmA2c+LpPRc9l/0JVR/+zfT5TAZjDak X-Received: by 2002:a05:6a00:8d86:b0:6ce:49a7:1695 with SMTP id im6-20020a056a008d8600b006ce49a71695mr3046691pfb.32.1701953097329; Thu, 07 Dec 2023 04:44:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701953097; cv=none; d=google.com; s=arc-20160816; b=SU0GOxrlm3QiLn6gTG70MZ370ZgyvpcQAMKUb5rFd71SVg/hy+lpZgtdWCFnZp0ozO FJUvvQ5aWWY9M6Qzd9T+Ws2x18kPTygjWftE6vyM+YAJiyltbZi/ym7awiUU+y/9Q2P/ ruDnZjSGuwU+UmHKizUtptqBjeiwFdjsn3qDX7KD8mOJ1WBdh5rVqo+cP9k08q1Bw2mh sNI6uDlImqTSAuAI+N0ktBLHvH2BwQXFDOUwmW9IJEz6/Gt7HSAS50fQ/Sw+sOEkbPmt /MNzFHpo/8VQxyx5hs7yY12PktwQ9aoTpNYZgGlWtDqHGYt+Jh2RRof3dmYY2nuL/tHc Ym/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=1STV75/5lAq5U11qIX0dqVHu0olQwFZddjLUy0uThKg=; fh=kY5sG9bizCMadT3Jqks24XWdKPhoBTpl9N13tNDqmeI=; b=pcvvWnAia87hNpHRUCgfwyVEqs+Onr7fyNiJdKuZQ53e36wtWQ9znevSlIVg7gqlUO q3al+DBIw4XsgUnuOC4CRMHQb5He6DtVcnPM/BKoyNDXBXLfBsRrIYZJ4GHuOdzmNXZN s6h5NticAOu8AHYYxdDDVQADG9jfhb7rGf2ZomkcPPEDccOQ2tA8iJRKl35bnosDDtL7 mXQof4jTaEtUTjOO52JBCf6GvGlKrVCgmRcRByKOf/votXcAEM42MitzjGuOfK4SWBym FmT8jmRmNQJuSDKl/gf1RqDf1bvuHzrzSxYzKZHWjvSurobpAnnyBnhHtWt9/RMa0ue9 Zp5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id w5-20020a636205000000b00573f94e8b83si1106630pgb.265.2023.12.07.04.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:44:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B7E7B80972B8; Thu, 7 Dec 2023 04:44:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379471AbjLGMob (ORCPT + 99 others); Thu, 7 Dec 2023 07:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379458AbjLGMo2 (ORCPT ); Thu, 7 Dec 2023 07:44:28 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F070D10C9 for ; Thu, 7 Dec 2023 04:44:34 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SmDVn5DVkz4xPL; Thu, 7 Dec 2023 23:44:33 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, Masahiro Yamada Cc: Nathan Chancellor , Nick Desaulniers , Tom Rix , linux-kernel@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <20231120232332.4100288-1-masahiroy@kernel.org> References: <20231120232332.4100288-1-masahiroy@kernel.org> Subject: Re: [PATCH] powerpc: add crtsavres.o to always-y instead of extra-y Message-Id: <170195271160.2310221.3176675115907278770.b4-ty@ellerman.id.au> Date: Thu, 07 Dec 2023 23:38:31 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 04:44:51 -0800 (PST) On Tue, 21 Nov 2023 08:23:32 +0900, Masahiro Yamada wrote: > crtsavres.o is linked to modules. However, as explained in commit > d0e628cd817f ("kbuild: doc: clarify the difference between extra-y > and always-y"), 'make modules' does not build extra-y. > > For example, the following command fails: > > $ make ARCH=powerpc LLVM=1 KBUILD_MODPOST_WARN=1 mrproper ps3_defconfig modules > [snip] > LD [M] arch/powerpc/platforms/cell/spufs/spufs.ko > ld.lld: error: cannot open arch/powerpc/lib/crtsavres.o: No such file or directory > make[3]: *** [scripts/Makefile.modfinal:56: arch/powerpc/platforms/cell/spufs/spufs.ko] Error 1 > make[2]: *** [Makefile:1844: modules] Error 2 > make[1]: *** [/home/masahiro/workspace/linux-kbuild/Makefile:350: __build_one_by_one] Error 2 > make: *** [Makefile:234: __sub-make] Error 2 > > [...] Applied to powerpc/next. [1/1] powerpc: add crtsavres.o to always-y instead of extra-y https://git.kernel.org/powerpc/c/1b1e38002648819c04773647d5242990e2824264 cheers