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

Internal compiler errors with arm-none-eabi-gcc 11.2-2022.02 on Macs with Apple Silicon

Hi,

I just installed gcc-arm-11.2-2022.02-darwin-x86_64-arm-none-eabi.pkg on a Mac with Apple Silicon.
Trying to compile anything, always results in this error: internal compiler error: Illegal instruction: 4
I don't have any of these issues with the previous release of the toolchain (gcc-arm-none-eabi-10.3-2021.10-mac.pkg).
I also tried version 11.2-2022.02 on an Intel based Mac, and there are no compiler errors, as can be seen below.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
❯ system_profiler SPHardwareDataType SPSoftwareDataType
Hardware:
Hardware Overview:
Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB
System Firmware Version: 7429.81.3
OS Loader Version: 7429.81.3
Activation Lock Status: Disabled
Software:
System Software Overview:
System Version: macOS 12.2.1 (21D62)
Kernel Version: Darwin 21.3.0
Boot Volume: Macintosh HD
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
➜ ~ system_profiler SPHardwareDataType SPSoftwareDataType
Hardware:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro16,1
Processor Name: 6-Core Intel Core i7
Processor Speed: 2,6 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 12 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
System Firmware Version: 1715.81.2.0.0 (iBridge: 19.16.10744.0.0,0)
OS Loader Version: 540.80.2~11
Activation Lock Status: Disabled
Software:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Any idea what might be causing these problems?

Best regards,
Derek

0