On Sat, 2022-02-12 at 11:11 +0800, xucheng...@loongson.cn wrote: > + sc = &rt_->uc.uc_mcontext;
Get a warning: In file included from ../../../libgcc/unwind-dw2.c:412: ./md-unwind-support.h: In function ‘loongarch_fallback_frame_state’: ./md-unwind-support.h:55:10: warning: assignment to ‘struct sigcontext *’ from incompatible pointer type ‘mcontext_t *’ [-Wincompatible-pointer-types] 55 | sc = &rt_->uc.uc_mcontext; | ^ Maybe we should just add a cast here like `(struct sigcontext *) &rt_->uc.uc_mcontext` ? -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University