can't check or compile any sample sketches
new laptop downloaded and installed IDE no work - updated to 2,3.3 still no
MacBook Pro 14.6.1 IDE 2.3.3
avr-g++: internal compiler error: Killed: 9 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
exit status 4
I have installed IDE 1.8.19 and get the same error: avr-g++: internal compiler error: Killed: 9 (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See https://gcc.gnu.org/bugs/ for instructions. exit status 4 /Applications/Arduino.app/Contents/Java/arduino-builder returned 4 Error compiling for board Arduino Uno.
Can anybody help? (yes I have submitted a report - no reply)
Put the ARM version of 2.3.3 on the M2, load the blink sketch, select in preferences verbose compile. If it fais post entire error log in code tags ^^ if it compiles turn off compile verboise, tuen on upload verbose and if failure post entire error log in code tags.
avr-g++: internal compiler error: Killed: 9 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
exit status 4
/Applications/Arduino.app/Contents/Java/arduino-builder returned 4
Error compiling for board Arduino Uno.
There is definitely an error there, but it's not one I have seen before and to me it's not obvious what the fix is. Hopefully, one of the Arduino experts will see this and lend support.
Java? That looks like IDE 1.x, not 2.x. Be sure to download and use the "Apple Silicon" arm64 version.
The programs that failed are part of the board's tools, not the IDE. But there may be some flags or magic bits that make the difference. Out of curiosity, you can try three commands in a Terminal
On an Intel Mac, they're x86_64. I wonder what you get when you install the board on Apple Silicon. After getting the right IDE going, you might try removing the board(s) and reinstalling.
So you know, your are dealing with someone who can turn the Mac on and use what I know. Not a technical person, you have been warned. Thank you for your reply. I have tried to run the terminal commands and posted 3 replies in order. I have an Intel based iMac and a MacBook Pro M.2 and I have 1.8.13 and 2.3.3 on both, yes I have the arm64 versions on the MacBook. I have no issues on the Intel iMac with either IDE and all the boards and libs. updated and work. I have a nano, UNO R3, Mega and now a UNO R4 WiFi and none of them work on the MacBook, they all work on the iMac.
The results will be easier to see and use when posted as <CODE/>
In the meantime, you have two cc1plus, which is the program that was killed because of an "internal compiler error". One is for arm, but it is not the same version as the other one, which matches the (not-arm) avr-g++
I don't have an Apple Silicon Mac, so can't say whether this is normal.