linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* LRU_GEN v2 & v5.12 build issue
@ 2021-05-02  2:31 Alexandre Frade
  2021-05-02  2:39 ` Yu Zhao
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Frade @ 2021-05-02  2:31 UTC (permalink / raw)
  To: linux-mm; +Cc: yuzhao

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-02 21:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02  2:31 LRU_GEN v2 & v5.12 build issue Alexandre Frade
2021-05-02  2:39 ` Yu Zhao
2021-05-02  2:45   ` Yu Zhao
2021-05-02 21:45     ` Alexandre Frade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox