Re: [PATCH v4 8/8] LoongArch: Add ORC stack unwinder support

From: Huacai Chen
Date: Fri Oct 27 2023 - 05:31:24 EST


On Fri, Oct 27, 2023 at 5:25 PM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:
>
>
>
> On 10/27/2023 03:02 PM, Huacai Chen wrote:
> > v3 works in most cases, v4 cannot work completely (stop at show_stack), why?
>
> There are no obvious differences of this patch between v3 and v4.
>
> > [ 61.642993] Call Trace:
> > [ 61.642995] [<9000000002ad3808>] show_stack+0x40/0x17c
>
> I can not reproduce the above issue with this patch unless remove
> the option "-falign-functions" in arch/loongarch/Makefile, please
> make sure the option "-falign-functions" is in your test code.
A compiler issue? Can you try this one? Thanks.
https://mirrors.wsyu.edu.cn/fedora/linux/Yongbao/cross-toolchain/20231026/

Huacai

>
> Thanks,
> Tiezhu
>
>