Skip to contentSkip to conversation

linux-next: build failure after merge of the printk tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Dec 7, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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: 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.

will fix :(

	-ss
#2 lore raw
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: 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.

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