Skip to contentSkip to conversation

ia64 build broken on CONFIG_DEBUG_STACK_USAGE

DISCUSSION Jiri Slaby 1 participant 2 messages Aug 22, 2011 – Sep 16, 2011

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

Hi,

when CONFIG_DEBUG_STACK_USAGE is selected, I get these errors:
CC arch/ia64/kernel/asm-offsets.s
In file included from arch/ia64/kernel/asm-offsets.c:9:
include/linux/sched.h: In function ‘stack_not_used’:
include/linux/sched.h:2419: error: ‘IA64_TASK_SIZE’ undeclared (first use in this function)
include/linux/sched.h:2419: error: (Each undeclared identifier is reported only once
include/linux/sched.h:2419: error: for each function it appears in.) include/linux/sched.h:2419: error: ‘IA64_THREAD_INFO_SIZE’ undeclared (first use in this function)
make[1]: *** [arch/ia64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

regards,

Signature · 2 lines
js
suse labs
author
#1 lore raw
Quoted 15 lines · Jiri Slaby

Hi,

when CONFIG_DEBUG_STACK_USAGE is selected, I get these errors:
CC arch/ia64/kernel/asm-offsets.s
In file included from arch/ia64/kernel/asm-offsets.c:9:
include/linux/sched.h: In function ‘stack_not_used’:
include/linux/sched.h:2419: error: ‘IA64_TASK_SIZE’ undeclared (first use in this function)
include/linux/sched.h:2419: error: (Each undeclared identifier is reported only once
include/linux/sched.h:2419: error: for each function it appears in.) include/linux/sched.h:2419: error: ‘IA64_THREAD_INFO_SIZE’ undeclared (first use in this function)
make[1]: *** [arch/ia64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Hi again. This is still an issue in the current Linus tree.

Do you have any idea how to fix it?

thanks,

Signature · 2 lines
js
suse labs