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 --versionarm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)
$ 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: 4libbacktrace could not find executable to openPlease submit a full bug report,with preprocessed source if appropriate.See <https://gcc.gnu.org/bugs/> for instructions.
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!
Thank you for providing this feedback, and sorry that you are unable to compile. Could you please let us know what version of Mac you are using? Thanks
not my screen name said:Please submit a full bug report,with preprocessed source if appropriate.See <https://gcc.gnu.org/bugs/> for instructions.
So have you done that?
It's an older iMac running OS X 10.11.6 (which is the last version Apple supports on that Mac)
I haven't. I was hoping that I was doing something wrong and that I could get it running. I wasn't sure if it was a bug or me. [All my experience is with using build tools, not setting them up.]
The GNU Arm Embedded Toolchain 9-2020-q2-update release is supported on Mac OS 10.14 and later. Unfortunately it has not been tested on Mac OS 10.11.6.
You can see the list of supported hosts in the Release Notes for the toolchain in developer.arm.com/.../downloads
View all questions in Arm Compilers forum