From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3969FC433DB for ; Thu, 25 Feb 2021 08:22:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8F45B64F0F for ; Thu, 25 Feb 2021 08:22:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F45B64F0F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DF2A18D000B; Thu, 25 Feb 2021 03:22:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DA2ED8D0005; Thu, 25 Feb 2021 03:22:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CBB868D000B; Thu, 25 Feb 2021 03:22:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0229.hostedemail.com [216.40.44.229]) by kanga.kvack.org (Postfix) with ESMTP id B886F8D0005 for ; Thu, 25 Feb 2021 03:22:38 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 85ECA10F58 for ; Thu, 25 Feb 2021 08:22:38 +0000 (UTC) X-FDA: 77856098796.14.6DC2F37 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf15.hostedemail.com (Postfix) with ESMTP id B58EFA0000FF for ; Thu, 25 Feb 2021 08:22:36 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 4ED4064F06; Thu, 25 Feb 2021 08:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614241325; bh=bJy0KIkD4/X7cHM6wylB/CG7wpq451bD4qyVOaqPznw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EyMI0p9e7z/2Xluk9/Oz1kL9FfcuhCaOo83DGqkXX2siZAImqbboRCrHzpOkOYirH SHOcnEVktl2pIxi5F53j6Whjy6yF3TW8IIWaIUISEygNg7YT5d4CQysO5fO3HpigJO 6rouTwZmedJ/pzpaTB22n0FefZoPjeBBFd5IULDg= Date: Thu, 25 Feb 2021 09:22:03 +0100 From: Greg Kroah-Hartman To: Nick Desaulniers Cc: Nathan Chancellor , Masahiro Yamada , kbuild-all@lists.01.org, clang-built-linux , Andrew Morton , Linux Memory Management List , kernel test robot , "# 3.4.x" , Sasha Levin Subject: Re: [linux-stable-rc:linux-5.4.y 2231/4843] ERROR: "__memcat_p" undefined! Message-ID: References: <202102151855.H817KoOF-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Stat-Signature: cej6nswqtdrkw9oaogc51mpyb8uckr4w X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: B58EFA0000FF Received-SPF: none (kernel.org>: No applicable sender policy available) receiver=imf15; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614241356-361675 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Feb 23, 2021 at 11:56:29AM -0800, Nick Desaulniers wrote: > On Mon, Feb 15, 2021 at 2:49 AM kernel test robot wrote: > > > > Hi Nick, > > > > First bad commit (maybe != root cause): > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y > > head: 642aa3284e09f63bf1d4832798dd787b4320ca64 > > commit: f05f667f8764f9ec834ca3e412ed7f5a20dea3bf [2231/4843] lib/string.c: implement stpcpy > > config: x86_64-randconfig-a005-20210215 (attached as .config) > > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) > > 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 > > # install x86_64 cross compiling tool for clang build > > # apt-get install binutils-x86-64-linux-gnu > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=f05f667f8764f9ec834ca3e412ed7f5a20dea3bf > > 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 linux-5.4.y > > git checkout f05f667f8764f9ec834ca3e412ed7f5a20dea3bf > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > >> ERROR: "__memcat_p" [drivers/hwtracing/stm/stm_core.ko] undefined! > > This error is unrelated to the referenced commit, but we did fix this > error finally in 5.7: > https://github.com/ClangBuiltLinux/linux/issues/515. This is not a > regression, but something that never worked with LLD until 5.7. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7273ad2b08f8ac9563579d16a3cf528857b26f49 > looks like the commit of interest, though I seem to have left a > comment implying there were dependencies: > https://github.com/ClangBuiltLinux/linux/issues/515#issuecomment-612999929 > (I no longer recall what they were). > > Some other commits in tree reference that bug from the issue tracker. > https://github.com/0day-ci/linux/commit/0cf9baa2dbb8ca29f30ac8a1afb69de51f222d17 > https://github.com/0day-ci/linux/commit/565508bb949dd72638b52522fb6ac6ec04ec57fc > https://github.com/0day-ci/linux/commit/0d0537aa772566473bd5310be3874060cbff8672 > > Not sure whether all 4 of the above worth backporting to 4.4.y? > Thoughts? (Perhaps these would allow us to add x86_64 allmodconfig CI > coverage with LLD for 4.4.y) If someone wants to backport them to 4.4.y, please feel free to submit it! thanks, greg k-h