https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98324
--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Created attachment 49821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49821&action=edit add pie try this patch on top of: 626b63d63a2 2020-12-21 | libcody: Add ranlib I could reproduce the error, and this is now working for me (with the patch)