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


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 <> 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!


More questions in this forum