linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: kernel test robot <lkp@intel.com>,
	kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Michael Ellerman <mpe@ellerman.id.au>,
	"Gautham R. Shenoy" <ego@linux.vnet.ibm.com>
Subject: Re: powerpc64-linux-ld: arch/powerpc/mm/numa.o:undefined reference to `coregroup_enabled'
Date: Mon, 23 Nov 2020 20:33:12 +0530	[thread overview]
Message-ID: <20201123150312.GC528281@linux.vnet.ibm.com> (raw)
In-Reply-To: <e9a3cd97-5a26-7b43-0077-22f909986141@infradead.org>

* Randy Dunlap <rdunlap@infradead.org> [2020-11-19 15:51:29]:

> On 11/19/20 10:26 AM, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   c2e7554e1b85935d962127efa3c2a76483b0b3b6
> > commit: f9f130ff2ec93c5949576bbfb168cc9530c23649 powerpc/numa: Detect support for coregroup
> > date:   9 weeks ago
> > config: powerpc64-randconfig-c003-20201104 (attached as .config)
> > compiler: powerpc64-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=f9f130ff2ec93c5949576bbfb168cc9530c23649
> >          git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >          git fetch --no-tags linus master
> >          git checkout f9f130ff2ec93c5949576bbfb168cc9530c23649
> >          # save the attached .config to linux build tree
> >          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
> > 
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> > 
> > All errors (new ones prefixed by >>):
> > 
> > > > powerpc64-linux-ld: arch/powerpc/mm/numa.o:(.toc+0x0): undefined reference to `coregroup_enabled'
> >     powerpc64-linux-ld: mm/page_alloc.o:(.toc+0x0): undefined reference to `node_reclaim_distance'
> >     powerpc64-linux-ld: mm/khugepaged.o:(.toc+0x0): undefined reference to `node_reclaim_distance'
> 
> Hm, OK.
> CONFIG_NUMA=y
> # CONFIG_SMP is not set
> 
> Michael, Gautham, does anyone care about this config combination?
> 

I can add #ifdef CONFIG_SMP where coregroup_enabled is being accessed
but I do feel CONFIG_NUMA but !CONFIG_SMP may not be a valid combination.

> 
> Thanks.

-- 
Thanks and Regards
Srikar Dronamraju

      reply	other threads:[~2020-11-23 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 18:26 powerpc64-linux-ld: arch/powerpc/mm/numa.o:undefined reference to `coregroup_enabled' kernel test robot
2020-11-19 23:51 ` Randy Dunlap
2020-11-23 15:03   ` Srikar Dronamraju [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=20201123150312.GC528281@linux.vnet.ibm.com \
    --to=srikar@linux.vnet.ibm.com \
    --cc=ego@linux.vnet.ibm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mpe@ellerman.id.au \
    --cc=rdunlap@infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).