Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3227019rwa; Tue, 23 Aug 2022 00:36:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Hi0vLlhA96ZiWM2JVmOElpxig0ZmyU8bWjwevzPfgHElP+5lXtwUzXrz8qtzsbppek6bJ X-Received: by 2002:a05:6402:3210:b0:43d:20bc:5e4 with SMTP id g16-20020a056402321000b0043d20bc05e4mr2521843eda.276.1661240188713; Tue, 23 Aug 2022 00:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661240188; cv=none; d=google.com; s=arc-20160816; b=AMxwSmZoX4rdXXCLVRkHmM4t5rdInFuUlj2fJJaZI+k0POtWKVo0aJx4h2d2zQ1NnR 6B1nv5wiqKjGj8FI6R/bfHBFxag82c9N0iOvOoWBDhb4J/32EY8W0K139CmkrI7WMOZm 233ErjAnCa4jC0B8vfrtMjme+el+ioglNRNbL9dKXx1H46Lm15DpdBZimNYI1xm5koJw oqKim97BHngVJ3MFbmMoitOY92hJTxen7JygfR6aC5ngEo0plV3L7TPb7ozE9cfb74b0 IGgtkk8LKooIpBAcePREB/dOG/0hJked+fIAp3iu1jelB+XSe9K45gysroqM8DlT/eIU TaBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Zv05OiTpc7hV4HccMuhYp+IQMbp19PkDNl0H39Tk8JU=; b=IIg0ofu6MxH+jDRQyJrzGF2xcpzURIbe9cABXErt3uFtp+5XxJl48TEcrlNS5C5JTI QOl5MhN20eM+DPtfsnBYMqwE9qrhZcxCDQvQ878c+mxNpIx1/YofuqbA7XFyrf6IffB+ BKoiQvD1IC8KphOklksvZqfvLSWxHd+T4bi1QlSh/obWiuSLDy0EK+dn+yrkgsjQZIa2 AlIxJnJS0Aak3hpfRtO5yNnp9W3yxeLK/nQ32nG/8xrek26aop904fN1docoQpdbbBpJ QpLAYPG17HSiiVnr5DxwEACHseFD6/4x4hl6HSjF1JsM0QD28LNg0MdCE29Q1nBhe+1K HI+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dwVikuHD; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js7-20020a17090797c700b007316ac034a5si13243708ejc.844.2022.08.23.00.36.02; Tue, 23 Aug 2022 00:36:28 -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=@linuxfoundation.org header.s=korg header.b=dwVikuHD; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240218AbiHWGr2 (ORCPT + 99 others); Tue, 23 Aug 2022 02:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235552AbiHWGr0 (ORCPT ); Tue, 23 Aug 2022 02:47:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA325A81F for ; Mon, 22 Aug 2022 23:47:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 67376614CC for ; Tue, 23 Aug 2022 06:47:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26129C433C1; Tue, 23 Aug 2022 06:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661237244; bh=M3bwz+b4e/CZFtrlPtVised1omBNngHLD/s/dGi7IaI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwVikuHDXfXdWBIGbQWvIPaI1twDiO7Eym+ISl4rrT+OSVDwrpv/bFOZzeBi0PQo3 pgE/Rs6u4Odh1z3b0IPFKt8nWcBBjAiJtwwtaymXX7pWtTJCQu7AeXAQStxuSKA39G T2720El+CRLxpFzD2PZNGoebIePMwRDspJEUXxow= Date: Tue, 23 Aug 2022 08:47:21 +0200 From: Greg Kroah-Hartman To: Masahiro Yamada Cc: Nathan Chancellor , Nick Desaulniers , kbuild-all@lists.01.org, Linux Kernel Mailing List , Sasha Levin , kernel test robot , Linus Torvalds Subject: Re: [linux-stable-rc:queue/4.14 13/175] Makefile:877: *** Recursive variable 'LDFLAGS' references itself (eventually). Stop. Message-ID: References: <202208210645.72NkUj0g-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, Aug 23, 2022 at 04:16:13AM +0900, Masahiro Yamada wrote: > On Tue, Aug 23, 2022 at 3:47 AM Nathan Chancellor wrote: > > > > On Mon, Aug 22, 2022 at 10:05:50AM -0700, Nick Desaulniers wrote: > > > On Sat, Aug 20, 2022 at 3:51 PM kernel test robot wrote: > > > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/4.14 > > > > head: ed8a2f4d20af62ebd64e4092d988d4ae6b54657c > > > > commit: 17c47886b521ae64a733f41364def799797e45ef [13/175] Makefile: link with -z noexecstack --no-warn-rwx-segments > > > > config: arc-randconfig-r043-20220821 (https://download.01.org/0day-ci/archive/20220821/202208210645.72NkUj0g-lkp@intel.com/config) > > > > compiler: arc-elf-gcc (GCC) 7.5.0 > > > > reproduce (this is a W=1 build): > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > > chmod +x ~/bin/make.cross > > > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=17c47886b521ae64a733f41364def799797e45ef > > > > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > > > git fetch --no-tags linux-stable-rc queue/4.14 > > > > git checkout 17c47886b521ae64a733f41364def799797e45ef > > > > # save the config file > > > > mkdir build_dir && cp config build_dir/.config > > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash > > > > > > > > If you fix the issue, kindly add following tag where applicable > > > > Reported-by: kernel test robot > > > > > > > > All errors (new ones prefixed by >>): > > > > > > > > >> Makefile:877: *** Recursive variable 'LDFLAGS' references itself (eventually). Stop. > > > > > > Thanks for the report! > > > > > > That's not something that I've seen before... > > > > > > Masahiro, does ARCH=arc do something special to LDFLAGS? > > > > > > This report is a randconfig against a branch of stable for arc, so > > > guessing this might be more obscure than usual. > > > > I suspect this would be fixed with commit ce99d0bf312d ("kbuild: clear > > LDFLAGS in the top Makefile"), which backports cleanly to 4.14. > > > > Cheers, > > Nathan > > Ah, yes. > Please back-port that commit. Thanks! Now queued up, thanks! greg k-h