https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107459
--- Comment #1 from Alp Sayin <alpsayin at alpsayin dot com> --- Created attachment 53792 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53792&action=edit Proposed patch (is the original patch) Proposed patch is the removal of buggy moddi3 implementation and falling back to gcc's own as per the original intention in the yocto project.