linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Liu, Yujie" <yujie.liu@intel.com>
To: "nathan@kernel.org" <nathan@kernel.org>,
	"peterx@redhat.com" <peterx@redhat.com>, lkp <lkp@intel.com>
Cc: "Huang, Ying" <ying.huang@intel.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"llvm@lists.linux.dev" <llvm@lists.linux.dev>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: Cannot find symbol for section 69: .text.arch_max_swapfile_size.
Date: Tue, 15 Aug 2023 01:49:35 +0000	[thread overview]
Message-ID: <b2bd6c726f075c6c7c4c4d3037db0e978b32cb78.camel@intel.com> (raw)
In-Reply-To: <20230814154730.GA3072@dev-arch.thelio-3990X>

On Mon, 2023-08-14 at 08:47 -0700, Nathan Chancellor wrote:
> On Mon, Aug 14, 2023 at 11:38:18AM -0400, Peter Xu wrote:
> > On Sat, Aug 12, 2023 at 09:11:33AM +0800, kernel test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > > head:   190bf7b14b0cf3df19c059061be032bd8994a597
> > > commit: be45a4902c7caa717fee6b2f671e59b396ed395c mm/swap: cache maximum swapfile size when init swap
> > > date:   11 months ago
> > > config: mips-randconfig-r014-20230811 (https://download.01.org/0day-ci/archive/20230812/202308120906.Efohswpa-lkp@intel.com/config)
> > > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
> > > reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120906.Efohswpa-lkp@intel.com/reproduce)
> > > 
> > > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > > the same patch/commit), kindly add following tags
> > > > Reported-by: kernel test robot <lkp@intel.com>
> > > > Closes: https://lore.kernel.org/oe-kbuild-all/202308120906.Efohswpa-lkp@intel.com/
> > > 
> > > All errors (new ones prefixed by >>):
> > > 
> > > > > Cannot find symbol for section 69: .text.arch_max_swapfile_size.
> > >    mm/swapfile.o: failed
> > 
> > Hmm.. I don't really know what's the issue here, neither can I reproduce
> > this locally - the cross build seems to all work with the reproducer and I
> > can see mm/swapfile.o correctly generated.
> 
> This is https://github.com/ClangBuiltLinux/linux/issues/1830 and
> https://github.com/ClangBuiltLinux/linux/issues/981, which is a bug in
> recordmcount with regards to section symbols that occurs when building
> with clang's integrated assembler. It happens when the there are only
> weak symbols in a .text section, which occurs more often with MIPS due
> to LD_DEAD_CODE_DATA_ELIMINATION implying -ffunction-sections (i.e., any
> __weak symbol will trigger this) and I can see this randconfig setting
> it.
> 
> Unfortunately, the robot seems to have tripped over this a lot over the
> weekend :/ Intel folks, can this type of warning please be added to your
> filter for at least MIPS + LD_DEAD_CODE_DATA_ELIMINATION so that people
> don't get bothered?

Sorry for the noise. We've added this type of warning to the filter of
the bot.

Thanks,
Yujie

> https://lore.kernel.org/202308121810.APAJIBxn-lkp@intel.com/
> https://lore.kernel.org/202308121535.otQuZept-lkp@intel.com/
> https://lore.kernel.org/202308121810.APAJIBxn-lkp@intel.com/
> https://lore.kernel.org/202308121246.0TYkHC1K-lkp@intel.com/
> https://lore.kernel.org/202308120553.IRzzfaXL-lkp@intel.com/
> https://lore.kernel.org/202308111956.QRc8XJVr-lkp@intel.com/
> 
> Cheers,
> Nathan
> 


      reply	other threads:[~2023-08-15  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-12  1:11 kernel test robot
2023-08-14 15:38 ` Peter Xu
2023-08-14 15:47   ` Nathan Chancellor
2023-08-15  1:49     ` Liu, Yujie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2bd6c726f075c6c7c4c4d3037db0e978b32cb78.camel@intel.com \
    --to=yujie.liu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=nathan@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peterx@redhat.com \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox