[Intel-gfx] [drm-intel:topic/drm-misc 1/2] backtracetest.c:undefined reference to `save_stack_trace'

Matthew Auld matthew.william.auld at gmail.com
Wed Nov 9 14:26:41 UTC 2016


On 9 November 2016 at 14:12, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Wed, Nov 09, 2016 at 10:01:37PM +0800, kbuild test robot wrote:
>> tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
>> head:   77d150b90d58ae6a43bf67af28feb26384d06cd6
>> commit: cd456f8d06d2036e1e013136c3fbf5721d04f6d7 [1/2] drm: Restrict stackdepot usage to builtin drm.ko
>> config: m68k-allyesconfig (attached as .config)
>> compiler: m68k-linux-gcc (GCC) 4.9.0
>> reproduce:
>>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>>         chmod +x ~/bin/make.cross
>>         git checkout cd456f8d06d2036e1e013136c3fbf5721d04f6d7
>>         # save the attached .config to linux build tree
>>         make.cross ARCH=m68k
>>
>> All errors (new ones prefixed by >>):
>>
>>    kernel/built-in.o: In function `backtrace_regression_test':
>> >> backtracetest.c:(.text+0x550d4): undefined reference to `save_stack_trace'
>>    mm/built-in.o: In function `set_track':
>>    slub.c:(.text+0x41414): undefined reference to `save_stack_trace'
>>    drivers/built-in.o: In function `save_stack.isra.7':
>> >> drm_mm.c:(.text+0x16be82): undefined reference to `save_stack_trace'
>
> Anyone got an idea for this one? m68k is missing save_stack_trace().
> There's no arch CONFIG_HAS_SAVE_STACK_TRACE, it looks like an oversight
> in arch/m68k.
STACKTRACE_SUPPORT ?


More information about the Intel-gfx mailing list