Build failure in v3.14-stable-queue (hexagon:defconfig)
Building hexagon:defconfig ... failed
--------------
Error log:
In file included from kernel/sched/core.c:85:0:kernel/sched/sched.h: In function 'finish_lock_switch':kernel/sched/sched.h:1000:2: error: implicit declaration of function 'smp_store_release' [-Werror=implicit-function-declaration]
Caused by 'sched/core: Fix TASK_DEAD race in finish_task_switch()'.
Richard, any idea how to fix this ?
Guenter
Quoted 8 lines · Guenter Roeck
Building hexagon:defconfig ... failed
--------------
Error log:In file included from
kernel/sched/core.c:85:0:kernel/sched/sched.h: In function 'finish_lock_switch':kernel/sched/sched.h:1000:2: error: implicit declaration of function 'smp_store_release' [-Werror=implicit-function-declaration]
Quoted 5 lines
Caused by 'sched/core: Fix
TASK_DEADrace infinish_task_switch()'.Richard, any idea how to fix this ?
Guenter
Hexagon doesn't have that defined, so it should come from generic.
The Kbuild line for that was added:
f549ed1a (Stephen Rothwell 2014-01-14 16:36:10 +1100 5) generic-y += barrier.h
That's as far as I know. This is against v3.14? I can take a look at it...
Thanks,
Richard Kuo
Signature · 3 lines
Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 8 lines · Guenter Roeck
Building hexagon:defconfig ... failed
--------------
Error log:In file included from
kernel/sched/core.c:85:0:kernel/sched/sched.h: In function 'finish_lock_switch':kernel/sched/sched.h:1000:2: error: implicit declaration of function 'smp_store_release' [-Werror=implicit-function-declaration]
Quoted 5 lines
Caused by 'sched/core: Fix
TASK_DEADrace infinish_task_switch()'.Richard, any idea how to fix this ?
Guenter
I think the extra barrier includes were fixed in:
Signature · 3 lines
Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Greg Kroah-Hartman
maintainerQuoted 11 lines · Richard Kuo
Quoted 10 lines · Guenter Roeck
Building hexagon:defconfig ... failed
--------------
Error log:In file included from
kernel/sched/core.c:85:0:kernel/sched/sched.h: In function 'finish_lock_switch':kernel/sched/sched.h:1000:2: error: implicit declaration of function 'smp_store_release' [-Werror=implicit-function-declaration]Caused by 'sched/core: Fix
TASK_DEADrace infinish_task_switch()'.
Quoted 7 lines
Quoted 3 lines
Richard, any idea how to fix this ?
Guenter
I think the extra barrier includes were fixed in:
Ok, I've queued this patch up now, let's see what happens...
thanks,
greg k-h