Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compilation fails spuriously: "avr-g++: internal compiler error: Killed: 9 (program cc1plus)" #11997

Open
Labels
Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Component: CompilationRelated to compilation of Arduino sketchesComponent: ToolchainThe tools used for compilation and uploading to Arduino boardsOS: OSXSpecific to the Mac OS X (macOS) version of the Arduino IDEType: Bug
@FastEdTex

Description

@FastEdTex

When compiling for UNO R4 WiFi, UNO R3, Nano, or Mega on my MacBook Pro M2, I get an "avr-g++: internal compiler error: Killed: 9 (program cc1plus)" error:

FQBN: arduino:avr:nano:cpu=atmega328oldUsing board 'nano' from platform in folder: /Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6Using core 'arduino' from platform in folder: /Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6Detecting libraries used.../Users/edwardunderwood/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs /private/var/folders/lv/lxk9nf7n1ks0s5l698yl6mv40000gn/T/arduino/sketches/37ACAEF4D865AE6E43B49B5A23BD8456/sketch/Blink.ino.cpp -o /dev/nullError while detecting libraries included by /private/var/folders/lv/lxk9nf7n1ks0s5l698yl6mv40000gn/T/arduino/sketches/37ACAEF4D865AE6E43B49B5A23BD8456/sketch/Blink.ino.cppGenerating function prototypes.../Users/edwardunderwood/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/edwardunderwood/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs /private/var/folders/lv/lxk9nf7n1ks0s5l698yl6mv40000gn/T/arduino/sketches/37ACAEF4D865AE6E43B49B5A23BD8456/sketch/Blink.ino.cpp -o /private/var/folders/lv/lxk9nf7n1ks0s5l698yl6mv40000gn/T/1557648738/sketch_merged.cppavr-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 4Compilation error: exit status 4

Additional context

Discussion:

https://forum.arduino.cc/t/new-ide-install-on-new-macbook-pro-m2-not-working/1307490


I am using macOS OS 14.6.1


I am using Arduino IDE 2.3.3.


The fault does not occur when I compile the same sketch for the same board on my older iMac with "Intel" processor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Component: CompilationRelated to compilation of Arduino sketchesComponent: ToolchainThe tools used for compilation and uploading to Arduino boardsOS: OSXSpecific to the Mac OS X (macOS) version of the Arduino IDEType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp