Go Down

Topic: arduino error (Read 246 times) previous topic - next topic

jnkfile

im getting this error when trying to compile my code. I am using Visuiono to program it. i spoke with the dev of that software who said this is an arduino error and to contact arduino. im not sure what info you need aside from this error.

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\kirkv\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670 -warnings=default -build-cache C:\Users\kirkv\AppData\Local\Temp\arduino_cache_201404 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\kirkv\Documents\Visuino\Generated\Generated.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\kirkv\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670 -warnings=default -build-cache C:\Users\kirkv\AppData\Local\Temp\arduino_cache_201404 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\kirkv\Documents\Visuino\Generated\Generated.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\Mitov" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\Mitov" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote\IRremote.cpp
Using cached library dependencies for file:
Using cached library dependencies for file: C:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote\sam.cpp
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\Mitov" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp" -o "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os  -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\Mitov" "-IC:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp" -o "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\sketch\Generated.ino.cpp.o"
Compiling libraries...
Compiling library "Mitov"
Compiling library "IRremote"
Using previously compiled file: C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\libraries\IRremote\IRremote.cpp.o
Using previously compiled file: C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670\libraries\IRremote\sam.cpp.o
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc"  -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670/Generated.ino.elf" "C:\Users\kirkv\AppData\Local\Temp\arduino_build_214670/..\arduino_cache_201404\core\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\kirkv\AppData\Local\Temp\arduino_build_214670" -lm
lto1.exe: internal compiler error: Segmentation fault

libbacktrace could not find executable to open

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

lto-wrapper: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status

c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

Using library Mitov in folder: C:\Users\kirkv\OneDrive\Documents\Arduino\libraries\Mitov (legacy)
Using library IRremote at version 2.2.3 in folder: C:\Users\kirkv\OneDrive\Documents\Arduino\libraries\IRremote
exit status 1
Error compiling for board Arduino/Genuino Uno.

pert

Try this:
  • Start the Arduino IDE
  • File > New
  • Sketch > Verify/Compile


Does the error still occur?

Go Up