https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66854
--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> --- Created attachment 35978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35978&action=edit Proposed patch to fix the problem I believe this patch fixes the problem. I was able to build libgcc with this patch installed. I could not complete a full RTEMS build (I suspect I am missing some parts of the software).