Skip to contentSkip to conversation

Build failure in v3.14-stable-queue (hexagon:defconfig)

DISCUSSION Guenter Roeck 3 participants 4 messages Oct 15, 2015 – Oct 17, 2015 Stable branch

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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_DEAD race in finish_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
#2 lore raw
In reply to Guenter Roeck
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_DEAD race in finish_task_switch()'.

Richard, any idea how to fix this ?

Guenter

I think the extra barrier includes were fixed in:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=94cf42f823bc904305b0ee93a09bcd51ba380497

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
#3 lore raw
Quoted 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_DEAD race in finish_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:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=94cf42f823bc904305b0ee93a09bcd51ba380497

Ok, I've queued this patch up now, let's see what happens...

thanks,

greg k-h