Hello guys, i didn't use Arduino IDE for 2-3 week and after this time i can't compile any code. There is error text:
Arduino: 1.8.15 (Windows 8.1), Плата:"Arduino Uno"
avr-gcc: error: @C :\Windows\TEMP\cceEyoIn: Invalid argument
avr-gcc: fatal error: no input files
compilation terminated.
lto-wrapper.exe: fatal error: F:\progs\arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
f:/progs/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
Ошибка компиляции для платы Arduino Uno.
Neither Nightly nor reinstalled Arduino IDE solves this problem, should i send log file or fix error?
pert
June 25, 2021, 7:51am
2
I'm going to ask you to provide some additional information that might provide us with information to determine the cause of the problem.
Please do this:
Select File > Preferences from the Arduino IDE's menus.
Check the box next to "Show verbose output during: [] compilation" .
Click the OK button.
Select Sketch > Verify/Compile from the Arduino IDE's menus.
After the compilation fails you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages . Click that button. This copies the full output to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </>
icon on the post composer toolbar. This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
Press Ctrl +V . This will paste the compilation output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
Arduino: 1.8.15 (Windows 8.1), Плата:"Arduino Uno"
F:\progs\arduino\arduino-builder -dump-prefs -logger=machine -hardware F:\progs\arduino\hardware -tools F:\progs\arduino\tools-builder -tools F:\progs\arduino\hardware\tools\avr -built-in-libraries F:\progs\arduino\libraries -libraries C:\Users\Admin\Desktop\lessons\ino\libraries -fqbn=arduino:avr:uno -ide-version=10815 -build-path C:\Windows\TEMP\arduino_build_444894 -warnings=none -build-cache C:\Windows\TEMP\arduino_cache_331548 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=F:\progs\arduino\hardware\tools\avr -verbose C:\Windows\TEMP\untitled1491581811.tmp\sketch_jun25a\sketch_jun25a.ino
F:\progs\arduino\arduino-builder -compile -logger=machine -hardware F:\progs\arduino\hardware -tools F:\progs\arduino\tools-builder -tools F:\progs\arduino\hardware\tools\avr -built-in-libraries F:\progs\arduino\libraries -libraries C:\Users\Admin\Desktop\lessons\ino\libraries -fqbn=arduino:avr:uno -ide-version=10815 -build-path C:\Windows\TEMP\arduino_build_444894 -warnings=none -build-cache C:\Windows\TEMP\arduino_cache_331548 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=F:\progs\arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=F:\progs\arduino\hardware\tools\avr -verbose C:\Windows\TEMP\untitled1491581811.tmp\sketch_jun25a\sketch_jun25a.ino
Using board 'uno' from platform in folder: F:\progs\arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: F:\progs\arduino\hardware\arduino\avr
Detecting libraries used...
"F:\\progs\\arduino\\hardware\\tools\\avr/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=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Windows\\TEMP\\arduino_build_444894\\sketch\\sketch_jun25a.ino.cpp" -o nul
Generating function prototypes...
"F:\\progs\\arduino\\hardware\\tools\\avr/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=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Windows\\TEMP\\arduino_build_444894\\sketch\\sketch_jun25a.ino.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"F:\\progs\\arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Windows\\TEMP\\arduino_build_444894\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Компиляция скетча...
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Windows\\TEMP\\arduino_build_444894\\sketch\\sketch_jun25a.ino.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\sketch\\sketch_jun25a.ino.cpp.o"
Compiling libraries...
Compiling core...
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring_pulse.S" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_pulse.S.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\WInterrupts.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WInterrupts.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\hooks.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\hooks.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring_analog.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_analog.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring_digital.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_digital.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring_pulse.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_pulse.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\wiring_shift.c" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_shift.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\CDC.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\CDC.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial0.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial0.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial1.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial1.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial2.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial2.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\HardwareSerial3.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial3.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\IPAddress.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\IPAddress.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\PluggableUSB.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\PluggableUSB.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\Print.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Print.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\Stream.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Stream.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\Tone.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Tone.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\USBCore.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\USBCore.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\WMath.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WMath.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\WString.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WString.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\abi.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\abi.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\main.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\main.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IF:\\progs\\arduino\\hardware\\arduino\\avr\\variants\\standard" "F:\\progs\\arduino\\hardware\\arduino\\avr\\cores\\arduino\\new.cpp" -o "C:\\Windows\\TEMP\\arduino_build_444894\\core\\new.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_pulse.S.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WInterrupts.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\hooks.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_analog.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_digital.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_pulse.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\wiring_shift.c.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\CDC.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial0.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial1.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial2.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\HardwareSerial3.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\IPAddress.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\PluggableUSB.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Print.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Stream.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\Tone.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\USBCore.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WMath.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\WString.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\abi.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\main.cpp.o"
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc-ar" rcs "C:\\Windows\\TEMP\\arduino_build_444894\\core\\core.a" "C:\\Windows\\TEMP\\arduino_build_444894\\core\\new.cpp.o"
Архивирование откомпилированного ядра (кэширование) в: C:\Windows\TEMP\arduino_cache_331548\core\core_arduino_avr_uno_f2ee39295752566a28507457257288b4.a
Linking everything together...
"F:\\progs\\arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Windows\\TEMP\\arduino_build_444894/sketch_jun25a.ino.elf" "C:\\Windows\\TEMP\\arduino_build_444894\\sketch\\sketch_jun25a.ino.cpp.o" "C:\\Windows\\TEMP\\arduino_build_444894/core\\core.a" "-LC:\\Windows\\TEMP\\arduino_build_444894" -lm
avr-gcc: error: @C:\Windows\TEMP\ccYoS3Pu: Invalid argument
avr-gcc: fatal error: no input files
compilation terminated.
lto-wrapper.exe: fatal error: F:\progs\arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
f:/progs/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
Ошибка компиляции для платы Arduino Uno.
pert
June 25, 2021, 8:52am
5
Unfortunately this did not give me any inspiration about the cause of the problem.
I do find the use of paths under C:\Windows\TEMP
for storing the temporary build files to be odd. Usually we would expect C:\Users\<username>\AppData\Local\Temp
to be used instead. But I haven't had any experience with Windows 8.1, so maybe this is normal?
There is a possibility the problem could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.
If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.
Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.
If that doesn't help, I'll recommend you to try Arduino IDE 1.8.13, which you can download here:
I believe this @C:\Windows\TEMP\ccYoS3Pu
is related to a change made in Arduino IDE 1.8.13 in order to support very complex sketches that caused the compilation commands to exceed Windows maximum command line length. If we find that the problem does not occur with Arduino IDE 1.8.13, that at least narrows down the cause of the issue somewhat.
Old version works without any problems, thank You for help!
system
Closed
October 24, 2021, 12:59pm
7
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.