Comment 1 for bug 1970029

Revision history for this message
Allen Blaylock (allenb-epg) wrote :

This may be related to these posts:
1) https://bugs.launchpad.net/gcc-arm-embedded/+bug/1970028
2) https://community.arm.com/support-forums/f/compilers-and-libraries-forum/52377/internal-compiler-errors-with-arm-none-eabi-gcc-11-2-2022-02-on-macs-with-apple-silicon
3) https://<email address hidden>/msg709750.html

I found that recompiling the compiler using the instructions provided in the "How to build the toolchain from sources" of the 11.2 release notes resolved the Illegal instruction error. I assume when the pre-packaged GCC was built it was targeting a newer x86_64 architecture than your processor (as was the case in my case).