Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Nov 10, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Josh,

After merging the tiny tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

arch/powerpc/kernel/built-in.o: In function `sys_call_table':
(.rodata+0xd58): undefined reference to .compat_sys_adjtimex' arch/powerpc/kernel/built-in.o: In function sys_call_table':
(.rodata+0x1b48): undefined reference to `.compat_sys_clock_adjtime'

Caused by commit be1e48a8e48f ("kernel: time: Compile out NTP support").

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi Josh,

After merging the tiny tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

arch/powerpc/kernel/built-in.o: In function `sys_call_table':
(.rodata+0xd58): undefined reference to .compat_sys_adjtimex' arch/powerpc/kernel/built-in.o: In function sys_call_table':
(.rodata+0x1b48): undefined reference to `.compat_sys_clock_adjtime'

Caused by commit be1e48a8e48f ("kernel: time: Compile out NTP support").

Good catch, thanks. Not clear why that build failure didn't show up on x86.

Looks like the two compat syscalls need cond_syscall lines as well. I'll add those to the patch.

- Josh Triplett

#2 lore raw
Quoted 11 lines · Josh Triplett
Quoted 10 lines · Stephen Rothwell

Hi Josh,

After merging the tiny tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

arch/powerpc/kernel/built-in.o: In function `sys_call_table':
(.rodata+0xd58): undefined reference to .compat_sys_adjtimex' arch/powerpc/kernel/built-in.o: In function sys_call_table':
(.rodata+0x1b48): undefined reference to `.compat_sys_clock_adjtime'

Quoted 7 lines
Quoted 1 line

Caused by commit be1e48a8e48f ("kernel: time: Compile out NTP support").

Good catch, thanks. Not clear why that build failure didn't show up on x86.

Looks like the two compat syscalls need cond_syscall lines as well. I'll add those to the patch.

Done in current tiny/next.

- Josh Triplett