lkml.org 
[lkml]   [2021]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ARC: Fix CONFIG_STACKDEPOT
Date
On 7/10/21 7:50 AM, Guenter Roeck wrote:
> Enabling CONFIG_STACKDEPOT results in the following build error.
>
> arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
> stackdepot.c:(.text+0x456): undefined reference to `__irqentry_text_start'
> arc-elf-ld: stackdepot.c:(.text+0x456): undefined reference to `__irqentry_text_start'
> arc-elf-ld: stackdepot.c:(.text+0x476): undefined reference to `__irqentry_text_end'
> arc-elf-ld: stackdepot.c:(.text+0x476): undefined reference to `__irqentry_text_end'
> arc-elf-ld: stackdepot.c:(.text+0x484): undefined reference to `__softirqentry_text_start'
> arc-elf-ld: stackdepot.c:(.text+0x484): undefined reference to `__softirqentry_text_start'
> arc-elf-ld: stackdepot.c:(.text+0x48c): undefined reference to `__softirqentry_text_end'
> arc-elf-ld: stackdepot.c:(.text+0x48c): undefined reference to `__softirqentry_text_end'
>
> Other architectures address this problem by adding IRQENTRY_TEXT and
> SOFTIRQENTRY_TEXT to the text segment, so do the same here.
>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Thx for the fix. Added to for-curr

-Vineet
\
 
 \ /
  Last update: 2021-07-13 21:46    [W:0.036 / U:1.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site