loongson-community / discussions

Cross-community issue tracker & discussions / 跨社区工单追踪 & 讨论场所
9 stars 0 forks source link

[GCC] unrecognizable insn while building Skia #11

Closed xen0n closed 10 months ago

xen0n commented 11 months ago

cross-linking https://github.com/xen0n/loongson-overlay/issues/35

maybe this has been fixed in trunk but I can't recall any detail regarding this off my head.

xen0n commented 11 months ago

cc @xry111 do you have any idea? (At worst I'd put -mno-lsx -mno-lasx into CFLAGS/CXXFLAGS to inhibit SIMD codegen and workaround this for now.)

xry111 commented 11 months ago

Is it reproducible with non-LTO?

xen0n commented 11 months ago

Is it reproducible with non-LTO?

I just confirmed that this is the case.

xen0n commented 11 months ago

@xry111 FYI: I've minimized it at https://github.com/xen0n/loongson-overlay/issues/35#issuecomment-1805595389.

xen0n commented 11 months ago

I've also filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112476.

xry111 commented 10 months ago

It should be fixed now.

xen0n commented 10 months ago

Thanks!