Skip to contentSkip to conversation

Build failure in v3.12-stable-queue

DISCUSSION Guenter Roeck 3 participants 5 messages Jul 12, 2016 – Jul 13, 2016 Stable branch

lore
Share & tools
lore
#0 lore raw

powerpc:defconfig, powerpc:allmodconfig:

arch/powerpc/kernel/process.c: In function 'start_thread':
arch/powerpc/kernel/process.c:1104:3: error: implicit declaration of function 'tm_reclaim_current'

Caused by "powerpc/tm: Always reclaim in start_thread() for exec() class syscalls".

This would either require d31626f70b610 ("powerpc: Don't corrupt transactional state when using FP/VMX in kernel"), which introduces the function, or you could call tm_reclaim() directly instead (which may be less risky).

Guenter

#1 lore raw
Quoted 6 lines · Guenter Roeck

powerpc:defconfig, powerpc:allmodconfig:

arch/powerpc/kernel/process.c: In function 'start_thread':
arch/powerpc/kernel/process.c:1104:3: error: implicit declaration of function 'tm_reclaim_current'

Quoted 8 lines

Caused by "powerpc/tm: Always reclaim in start_thread() for exec() class syscalls".

This would either require d31626f70b610 ("powerpc: Don't corrupt transactional state
when using FP/VMX in kernel"), which introduces the function, or you could call
tm_reclaim() directly instead (which may be less risky).

Oh, I see.

Given d31626f70b610 is intrusive and I have no idea how to call tm_reclaim directly and if it suffices at all, I have dropped the patch until somebody can provide me with a backport :).

thanks,

Signature · 2 lines
js
suse labs
#2 lore raw

Hi Jiri,

Quoted 16 lines · Jiri Slaby
Quoted 6 lines · Guenter Roeck

powerpc:defconfig, powerpc:allmodconfig:

arch/powerpc/kernel/process.c: In function 'start_thread':
arch/powerpc/kernel/process.c:1104:3: error: implicit declaration of function 'tm_reclaim_current'

Quoted 8 lines

Caused by "powerpc/tm: Always reclaim in start_thread() for exec() class syscalls".

This would either require d31626f70b610 ("powerpc: Don't corrupt transactional state
when using FP/VMX in kernel"), which introduces the function, or you could call
tm_reclaim() directly instead (which may be less risky).

Quoted 6 lines

Oh, I see.

Given d31626f70b610 is intrusive and I have no idea how to call tm_reclaim directly and if it suffices at all, I have dropped the patch until somebody can provide me with a backport :).

There are now more failures:

arm:allmodconfig:
i386:allmodconfig:
mips:allmodconfig:
[and more]

ERROR: "ktime_divns" [sound/core/snd-hrtimer.ko] undefined!

Caused by 'ALSA: hrtimer: Handle start/stop more properly'. ktime_divns() isn't exported in 3.12.

Guenter

#3 lore raw
Quoted 8 lines · Guenter Roeck

There are now more failures:

arm:allmodconfig:
i386:allmodconfig:
mips:allmodconfig:
[and more]

Quoted 4 lines

ERROR: "ktime_divns" [sound/core/snd-hrtimer.ko] undefined!

Caused by 'ALSA: hrtimer: Handle start/stop more properly'. ktime_divns() isn't exported in 3.12.

The symbol is exported since

166afb64511e ("ktime: Sanitize ktime_to_us/ms conversion")

(i.e. v3.17-rc1) but it makes no sense to pick the whole commit, just making ktime_divns exported is enough to fix the 32-bit builds.

Michal Kubecek

#4 lore raw
Quoted 14 lines · Michal Kubecek
Quoted 8 lines · Guenter Roeck

There are now more failures:

arm:allmodconfig:
i386:allmodconfig:
mips:allmodconfig:
[and more]

Quoted 4 lines

ERROR: "ktime_divns" [sound/core/snd-hrtimer.ko] undefined!

Caused by 'ALSA: hrtimer: Handle start/stop more properly'. ktime_divns() isn't exported in 3.12.

Quoted 6 lines

The symbol is exported since

   166afb64511e ("ktime: Sanitize ktime_to_us/ms conversion")

(i.e. v3.17-rc1) but it makes no sense to pick the whole commit, just making ktime_divns exported is enough to fix the 32-bit builds.

Should be fixed now. Thanks!

Signature · 2 lines
js
suse labs