This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keep getting "cc1: internal compiler error: Illegal instruction: 4" Help?

Greetings,

I just installed gcc-arm-none-eabi-9-2020-q2-update-mac.pkg on a Mac.  I have added /Applications/ARM/bin to $PATH and the compiler is reachable and responds as expected when asked its version:

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)

However trying to compile anything (even a little test thing with no includes) always results in this error:

cc1: internal compiler error: Illegal instruction: 4
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.

The same happens even using the -E switch.

I've searched some, including on this forum, but haven't really found anything that helped... But I could easily be missing something - I'm an EE and installing compilers is not really my thing so please be kind!

Thanks