linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: akpm@linux-foundation.org, broonie@kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz,
	mm-commits@vger.kernel.org, sfr@canb.auug.org.au,
	Mike Rapoport <rppt@kernel.org>
Subject: Re: mmotm 2021-02-01-19-29 uploaded (maybe CONFIG_SPARSEMEM?)
Date: Mon, 1 Feb 2021 22:18:46 -0800	[thread overview]
Message-ID: <e0f14eec-21d8-613c-9071-6dd131b4bee7@infradead.org> (raw)
In-Reply-To: <20210202033228.P_9pJWdLx%akpm@linux-foundation.org>

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

On 2/1/21 7:32 PM, akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2021-02-01-19-29 has been uploaded to
> 
>    https://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> https://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.
> 
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY).  The series file is in broken-out.tar.gz and is duplicated in
> https://ozlabs.org/~akpm/mmotm/series
> 
> The file broken-out.tar.gz contains two datestamp files: .DATE and
> .DATE-yyyy-mm-dd-hh-mm-ss.  Both contain the string yyyy-mm-dd-hh-mm-ss,
> followed by the base kernel version against which this patch series is to
> be applied.

4 of 10 i386 builds had hundreds of build errors.
Those same 4 builds had CONFIG_SPARSEMEM=y.
It may be a coincidence -- I haven't found out yet.

One of the 4 randconfig files is attached.

Here is a sampling of build errors:

../include/linux/mm.h: In function ‘is_pinnable_page’:
../include/asm-generic/memory_model.h:64:14: error: implicit declaration of function ‘page_to_section’; did you mean ‘__nr_to_section’? [-Werror=implicit-function-declaration]
  int __sec = page_to_section(__pg);   \
              ^
../include/asm-generic/memory_model.h:81:21: note: in expansion of macro ‘__page_to_pfn’
 #define page_to_pfn __page_to_pfn
                     ^~~~~~~~~~~~~
../include/linux/mmzone.h:94:32: note: in expansion of macro ‘page_to_pfn’
  get_pfnblock_flags_mask(page, page_to_pfn(page), MIGRATETYPE_MASK)
                                ^~~~~~~~~~~
../include/linux/mmzone.h:74:39: note: in expansion of macro ‘get_pageblock_migratetype’
 #  define is_migrate_cma_page(_page) (get_pageblock_migratetype(_page) == MIGRATE_CMA)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
../include/linux/mm.h:1133:41: note: in expansion of macro ‘is_migrate_cma_page’
  return !(is_zone_movable_page(page) || is_migrate_cma_page(page)) ||
                                         ^~~~~~~~~~~~~~~~~~~
In file included from ../include/linux/kallsyms.h:12:0,
                 from ../include/linux/bpf.h:21,
                 from ../include/linux/bpf-cgroup.h:5,
                 from ../include/linux/cgroup-defs.h:22,
                 from ../include/linux/cgroup.h:28,
                 from ../include/linux/memcontrol.h:13,
                 from ../include/linux/swap.h:9,
                 from ../include/linux/suspend.h:5,
                 from ../arch/x86/kernel/asm-offsets.c:13:
../include/linux/mm.h: At top level:
../include/linux/mm.h:1505:29: error: conflicting types for ‘page_to_section’
 static inline unsigned long page_to_section(const struct page *page)
                             ^~~~~~~~~~~~~~~
In file included from ../arch/x86/include/asm/page.h:76:0,
                 from ../arch/x86/include/asm/thread_info.h:12,
                 from ../include/linux/thread_info.h:56,
                 from ../arch/x86/include/asm/preempt.h:7,
                 from ../include/linux/preempt.h:78,
                 from ../include/linux/spinlock.h:51,
                 from ../include/linux/mmzone.h:8,
                 from ../include/linux/gfp.h:6,
                 from ../include/linux/slab.h:15,
                 from ../include/linux/crypto.h:20,
                 from ../arch/x86/kernel/asm-offsets.c:9:
../include/asm-generic/memory_model.h:64:14: note: previous implicit declaration of ‘page_to_section’ was here
  int __sec = page_to_section(__pg);   \
              ^
../include/asm-generic/memory_model.h:81:21: note: in expansion of macro ‘__page_to_pfn’
 #define page_to_pfn __page_to_pfn
                     ^~~~~~~~~~~~~
../include/linux/mmzone.h:94:32: note: in expansion of macro ‘page_to_pfn’
  get_pfnblock_flags_mask(page, page_to_pfn(page), MIGRATETYPE_MASK)
                                ^~~~~~~~~~~
../include/linux/mmzone.h:74:39: note: in expansion of macro ‘get_pageblock_migratetype’
 #  define is_migrate_cma_page(_page) (get_pageblock_migratetype(_page) == MIGRATE_CMA)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
../include/linux/mm.h:1133:41: note: in expansion of macro ‘is_migrate_cma_page’
  return !(is_zone_movable_page(page) || is_migrate_cma_page(page)) ||
                                         ^~~~~~~~~~~~~~~~~~~


-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

[-- Attachment #2: config-r7551.gz --]
[-- Type: application/gzip, Size: 36093 bytes --]

      reply	other threads:[~2021-02-02  6:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02  3:32 mmotm 2021-02-01-19-29 uploaded akpm
2021-02-02  6:18 ` Randy Dunlap [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=e0f14eec-21d8-613c-9071-6dd131b4bee7@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mhocko@suse.cz \
    --cc=mm-commits@vger.kernel.org \
    --cc=rppt@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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).