Re: [PATCH] csky: Fixup calltrace panic
From: Guo Ren
Date: Fri May 22 2020 - 11:28:40 EST
Hi,
On Thu, May 21, 2020 at 10:46 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> > We tested it with https://github.com/c-sky/gcc (gcc-6.3)
> >
>
> That won't work for me. You really might want to consider
> supporting upstream gcc. I'll try disabling CONFIG_STACKTRACE
> for csky build tests. If that doesn't work, I may have to
> disable affected csky build tests for the time being.
>
> Guenter
Not only CONFIG_STACKTRACE,
Disable FRAME_POINTER (Kernel hacking -> Compile the kernel with frame pointers)
because in Makefile:
ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -mbacktrace
endif
We'll upstream -mbacktrace to gcc 9 soon, sorry for the confusion. Thx
for your work on maintaining.
--
Best Regards
Guo Ren
ML: https://lore.kernel.org/linux-csky/