All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: kernel test robot <lkp@intel.com>,
	Michal Simek <monstr@monstr.eu>,
	kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Christoph Hellwig <hch@lst.de>, Mike Rapoport <rppt@kernel.org>
Subject: Re: [kbuild-all] Re: undefined reference to `start_isolate_page_range'
Date: Tue, 8 Sep 2020 06:45:39 +0800	[thread overview]
Message-ID: <20200907224539.GA4034@intel.com> (raw)
In-Reply-To: <ef63d7a3-4793-6b1d-3dc5-229589abc56c@infradead.org>

On Mon, Sep 07, 2020 at 03:40:08PM -0700, Randy Dunlap wrote:
> Hi lkp, (or is it ktr?)
> 
> This is sort of a shame-on-you post. As a robot, I hope that you
> don't have any hard feelings about it.  :)
Hi Randy, thanks for the input, below warning is helpful to identify
issues, we will add this to plan to show kconfig related warnings
in the report.

Thanks

> 
> 
> On 9/6/20 9:17 AM, kernel test robot wrote:
> > Hi Michal,
> > 
> > FYI, the error/warning still remains.
> > 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   dd9fb9bb3340c791a2be106fdc895db75f177343
> > commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
> > date:   7 months ago
> > config: microblaze-randconfig-r021-20200906 (attached as .config)
> > compiler: microblaze-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
> >         git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
> >         # save the attached .config to linux build tree
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 
> > 
> > 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 >>):
> > 
> >    microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
> >>> (.text+0x10c8c): undefined reference to `start_isolate_page_range'
> >>> microblaze-linux-ld: (.text+0x10f14): undefined reference to `test_pages_isolated'
> >>> microblaze-linux-ld: (.text+0x10fd0): undefined reference to `undo_isolate_page_range'
> 
> When I (easily) reproduce this build error, I also see a Kconfig warning:
> (or the same warning repeated 3 times)
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> 
> This is the cause of the build errors.
> You shouldn't omit Kconfig warnings from your reports.
> 
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 
> 
> cheers.
> -- 
> ~Randy
> _______________________________________________
> kbuild-all mailing list -- kbuild-all@lists.01.org
> To unsubscribe send an email to kbuild-all-leave@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: Philip Li <philip.li@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: undefined reference to `start_isolate_page_range'
Date: Tue, 08 Sep 2020 06:45:39 +0800	[thread overview]
Message-ID: <20200907224539.GA4034@intel.com> (raw)
In-Reply-To: <ef63d7a3-4793-6b1d-3dc5-229589abc56c@infradead.org>

[-- Attachment #1: Type: text/plain, Size: 3105 bytes --]

On Mon, Sep 07, 2020 at 03:40:08PM -0700, Randy Dunlap wrote:
> Hi lkp, (or is it ktr?)
> 
> This is sort of a shame-on-you post. As a robot, I hope that you
> don't have any hard feelings about it.  :)
Hi Randy, thanks for the input, below warning is helpful to identify
issues, we will add this to plan to show kconfig related warnings
in the report.

Thanks

> 
> 
> On 9/6/20 9:17 AM, kernel test robot wrote:
> > Hi Michal,
> > 
> > FYI, the error/warning still remains.
> > 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   dd9fb9bb3340c791a2be106fdc895db75f177343
> > commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
> > date:   7 months ago
> > config: microblaze-randconfig-r021-20200906 (attached as .config)
> > compiler: microblaze-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
> >         git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
> >         # save the attached .config to linux build tree
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 
> > 
> > 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 >>):
> > 
> >    microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
> >>> (.text+0x10c8c): undefined reference to `start_isolate_page_range'
> >>> microblaze-linux-ld: (.text+0x10f14): undefined reference to `test_pages_isolated'
> >>> microblaze-linux-ld: (.text+0x10fd0): undefined reference to `undo_isolate_page_range'
> 
> When I (easily) reproduce this build error, I also see a Kconfig warning:
> (or the same warning repeated 3 times)
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> WARNING: unmet direct dependencies detected for CMA
>   Depends on [n]: MMU [=n]
>   Selected by [m]:
>   - DRM_ASPEED_GFX [=m] && HAS_IOMEM [=y] && DRM [=m] && OF [=y] && (COMPILE_TEST [=y] || ARCH_ASPEED) && HAVE_DMA_CONTIGUOUS [=y]
> 
> 
> This is the cause of the build errors.
> You shouldn't omit Kconfig warnings from your reports.
> 
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> 
> 
> cheers.
> -- 
> ~Randy
> _______________________________________________
> kbuild-all mailing list -- kbuild-all(a)lists.01.org
> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org

  reply	other threads:[~2020-09-07 22:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06 16:17 undefined reference to `start_isolate_page_range' kernel test robot
2020-09-06 16:17 ` kernel test robot
2020-09-07 22:40 ` Randy Dunlap
2020-09-07 22:40   ` Randy Dunlap
2020-09-07 22:45   ` Philip Li [this message]
2020-09-07 22:45     ` Philip Li

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=20200907224539.GA4034@intel.com \
    --to=philip.li@intel.com \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=monstr@monstr.eu \
    --cc=rdunlap@infradead.org \
    --cc=rppt@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.