linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Frade <kernel@xanmod.org>
To: "linux-mm" <linux-mm@kvack.org>
Cc: "yuzhao" <yuzhao@google.com>
Subject: LRU_GEN v2 & v5.12 build issue
Date: Sat, 01 May 2021 23:31:18 -0300	[thread overview]
Message-ID: <1792aea71ee.e2062a5f778082.9048268443626031415@xanmod.org> (raw)
In-Reply-To: 

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

Dear Yu Zhao,

 

 I 
don't know if it's a known issue with the 5.12 kernel released 
[9f4ad9e]: 

 

 LRU_GEN v2 & v5.12 final:

  



In function ‘nd_pfn_init’,
     inlined from ‘nvdimm_setup_pfn’ at drivers/nvdimm/pfn_devs.c:842:7:
 ././include/linux/compiler_types.h:320:38: error: call to 
‘__compiletime_assert_349’ declared with attribute error: BUILD_BUG_ON 
failed: sizeof(struct page) > MAX_STRUCT_PAGE_SIZE
   320 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
       |                                      ^
 ././include/linux/compiler_types.h:301:4: note: in definition of macro ‘__compiletime_assert’
   301 |    prefix ## suffix();    \
       |    ^~~~~~
 ././include/linux/compiler_types.h:320:2: note: in expansion of macro ‘_compiletime_assert’
   320 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
       |  ^~~~~~~~~~~~~~~~~~~
 ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
       |                                    ^~~~~~~~~~~~~~~~~~
 ./include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
       |  ^~~~~~~~~~~~~~~~
 drivers/nvdimm/pfn_devs.c:794:3: note: in expansion of macro ‘BUILD_BUG_ON’
   794 |  BUILD_BUG_ON(sizeof(struct page) > MAX_STRUCT_PAGE_SIZE);
       |  ^~~~~~~~~~~~
 make[5]: *** [scripts/Makefile.build:271: drivers/nvdimm/pfn_devs.o] Error 1
 make[4]: *** [scripts/Makefile.build:514: drivers/nvdimm] Error 2
 make[4]: *** Waiting for unfinished jobs....





Grateful,



Alexandre Frade

[-- Attachment #2: Type: text/html, Size: 2914 bytes --]

             reply	other threads:[~2021-05-02  2:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02  2:31 Alexandre Frade [this message]
2021-05-02  2:39 ` Yu Zhao
2021-05-02  2:45   ` Yu Zhao
2021-05-02 21:45     ` Alexandre Frade

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=1792aea71ee.e2062a5f778082.9048268443626031415@xanmod.org \
    --to=kernel@xanmod.org \
    --cc=linux-mm@kvack.org \
    --cc=yuzhao@google.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