linux-next: build failure after merge of the printk tree
Hi Petr,
After merging the printk tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
In file included from include/linux/ftrace.h:11:0,
from include/linux/perf_event.h:48,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:82,
from init/do_mounts.h:5,
from init/do_mounts_initrd.c:22:include/linux/kallsyms.h: In function 'dereference_symbol_descriptor':include/linux/kallsyms.h:63:8: error: implicit declaration of function '__module_address' [-Werror=implicit-function-declaration]
mod = __module_address((unsigned long)ptr);
^
include/linux/kallsyms.h:67:9: error: implicit declaration of function 'dereference_module_function_descriptor' [-Werror=implicit-function-declaration]
ptr = dereference_module_function_descriptor(mod, ptr);
^and many more ...
Caused by commit
78675fe41d57 ("symbol lookup: introduce dereference_symbol_descriptor()")
I have used the printk tree from next-20171206 (with its version of the above patch reverted due to yesterday's error) for today.
Signature · 2 lines
Cheers, Stephen Rothwell
On (12/07/17 11:37), Stephen Rothwell wrote:
[..]
Quoted 8 lines
include/linux/kallsyms.h: In function 'dereference_symbol_descriptor':include/linux/kallsyms.h:63:8: error: implicit declaration of function '__module_address' [-Werror=implicit-function-declaration]mod = __module_address((unsigned long)ptr); ^ include/linux/kallsyms.h:67:9: error: implicit declaration of function 'dereference_module_function_descriptor' [-Werror=implicit-function-declaration] ptr = dereference_module_function_descriptor(mod, ptr); ^
Quoted 8 lines
and many more ...
Caused by commit
78675fe41d57("symbol lookup: introducedereference_symbol_descriptor()")I have used the printk tree from next-20171206 (with its version of the above patch reverted due to yesterday's error) for today.
will fix :(
-ss
Quoted 12 lines · Sergey Senozhatsky
On (12/07/17 11:37), Stephen Rothwell wrote:
[..]Quoted 10 lines
include/linux/kallsyms.h: In function 'dereference_symbol_descriptor':include/linux/kallsyms.h:63:8: error: implicit declaration of function '__module_address' [-Werror=implicit-function-declaration]mod = __module_address((unsigned long)ptr); ^ include/linux/kallsyms.h:67:9: error: implicit declaration of function 'dereference_module_function_descriptor' [-Werror=implicit-function-declaration] ptr = dereference_module_function_descriptor(mod, ptr); ^and many more ...
Quoted 8 lines
Quoted 6 lines
Caused by commit
78675fe41d57("symbol lookup: introducedereference_symbol_descriptor()")I have used the printk tree from next-20171206 (with its version of the above patch reverted due to yesterday's error) for today.
will fix :(
Sigh, the dependencies are quite complicated here.
Anyway, Sergey's fix for these non-x86 architectures is merged in printk.git now.
Best Regards,
Petr