linux-next: build failure after merge of the mm tree
From: Stephen Rothwell
Date: Mon Aug 21 2023 - 19:55:44 EST
Hi all,
After merging the mm tree, today's linux-next build
(powerpc_ppc64_defconfig) failed like this:
In file included from include/trace/trace_events.h:27,
from include/trace/define_trace.h:102,
from fs/xfs/xfs_trace.h:4428,
from fs/xfs/xfs_trace.c:45:
include/linux/pgtable.h:8:25: error: initializer element is not constant
8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT)
| ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
20 | .eval_value = a \
| ^
fs/xfs/./xfs_trace.h:805:19: note: in expansion of macro 'PMD_ORDER'
805 | TRACE_DEFINE_ENUM(PMD_ORDER);
| ^~~~~~~~~
include/linux/pgtable.h:8:25: note: (near initialization for '__TRACE_SYSTEM_PMD_ORDER.eval_value')
8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT)
| ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
20 | .eval_value = a \
| ^
fs/xfs/./xfs_trace.h:805:19: note: in expansion of macro 'PMD_ORDER'
805 | TRACE_DEFINE_ENUM(PMD_ORDER);
| ^~~~~~~~~
include/linux/pgtable.h:9:25: error: initializer element is not constant
9 | #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT)
| ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
20 | .eval_value = a \
| ^
fs/xfs/./xfs_trace.h:806:19: note: in expansion of macro 'PUD_ORDER'
806 | TRACE_DEFINE_ENUM(PUD_ORDER);
| ^~~~~~~~~
include/linux/pgtable.h:9:25: note: (near initialization for '__TRACE_SYSTEM_PUD_ORDER.eval_value')
9 | #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT)
| ^
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
20 | .eval_value = a \
| ^
fs/xfs/./xfs_trace.h:806:19: note: in expansion of macro 'PUD_ORDER'
806 | TRACE_DEFINE_ENUM(PUD_ORDER);
| ^~~~~~~~~
fs/xfs/./xfs_trace.h: In function 'trace_raw_output_xfs_filemap_fault':
include/linux/pgtable.h:8:25: error: initializer element is not constant
8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT)
| ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
203 | trace_event_printf(iter, print); \
| ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
45 | PARAMS(print)); \
| ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
811 | TRACE_EVENT(xfs_filemap_fault,
| ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
826 | TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
829 | __print_symbolic(__entry->order,
| ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:831:27: note: in expansion of macro 'PMD_ORDER'
831 | { PMD_ORDER, "PMD" },
| ^~~~~~~~~
include/linux/pgtable.h:8:25: note: (near initialization for 'symbols[1].mask')
8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT)
| ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
203 | trace_event_printf(iter, print); \
| ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
45 | PARAMS(print)); \
| ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
811 | TRACE_EVENT(xfs_filemap_fault,
| ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
826 | TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
829 | __print_symbolic(__entry->order,
| ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:831:27: note: in expansion of macro 'PMD_ORDER'
831 | { PMD_ORDER, "PMD" },
| ^~~~~~~~~
include/linux/pgtable.h:9:25: error: initializer element is not constant
9 | #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT)
| ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
203 | trace_event_printf(iter, print); \
| ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
45 | PARAMS(print)); \
| ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
811 | TRACE_EVENT(xfs_filemap_fault,
| ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
826 | TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
829 | __print_symbolic(__entry->order,
| ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:832:27: note: in expansion of macro 'PUD_ORDER'
832 | { PUD_ORDER, "PUD" }),
| ^~~~~~~~~
include/linux/pgtable.h:9:25: note: (near initialization for 'symbols[2].mask')
9 | #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT)
| ^
include/trace/trace_events.h:203:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
203 | trace_event_printf(iter, print); \
| ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
45 | PARAMS(print)); \
| ^~~~~~
fs/xfs/./xfs_trace.h:811:1: note: in expansion of macro 'TRACE_EVENT'
811 | TRACE_EVENT(xfs_filemap_fault,
| ^~~~~~~~~~~
fs/xfs/./xfs_trace.h:826:9: note: in expansion of macro 'TP_printk'
826 | TP_printk("dev %d:%d ino 0x%llx %s write_fault %d",
| ^~~~~~~~~
fs/xfs/./xfs_trace.h:829:19: note: in expansion of macro '__print_symbolic'
829 | __print_symbolic(__entry->order,
| ^~~~~~~~~~~~~~~~
fs/xfs/./xfs_trace.h:832:27: note: in expansion of macro 'PUD_ORDER'
832 | { PUD_ORDER, "PUD" }),
| ^~~~~~~~~
Caused by commit
b8088235e872 ("mm: remove enum page_entry_size")
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell
Attachment:
pgpIH_B0X6tc8.pgp
Description: OpenPGP digital signature