Updated 2.4.2 to 2.5.2: blank sketch gives Exit Status 1
Posted: Sat Jun 01, 2019 6:17 am
I've been using 2.4.2 of the ESP8266 board manager stuff for a while now, but finally bit the bullet and upgraded to 2.5.2.
The install appeared to go OK.
I then tried to compile a blank sketch just to make sure the essentials were OK. Unfortunately, I got an Exit Status 1.
An abridged version of the error status from the Arduino IDE follows.
I've seen posts about this error in the past, but nothing seems to have cropped up recently.
Any pointers would be appreciated. If all else fails I skip back to 2.4.2
**LATER** Tried various tweaks, but compiling the core still fails with Exit Status 1. Seems to fail when trying to compile different modules in the esp8266 core. Seems no rhyme nor reason to it, which makes me think might be something more fundamental with my setup. I'll do a fresh install and see if that clears up any weirdness.
Would certainly benefit from any pointers!
The install appeared to go OK.
I then tried to compile a blank sketch just to make sure the essentials were OK. Unfortunately, I got an Exit Status 1.
An abridged version of the error status from the Arduino IDE follows.
Code: Select all
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\Chris\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\Chris\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\Chris\Documents\Dev\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,ssl=all,eesz=4M1M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10809 -build-path C:\Users\Chris\AppData\Local\Temp\arduino_build_995730 -warnings=all -build-cache C:\Users\Chris\AppData\Local\Temp\arduino_cache_504304 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -verbose C:\Users\Chris\AppData\Local\Temp\untitled772240480.tmp\sketch_jun01a\sketch_jun01a.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\Chris\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\Chris\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\Chris\Documents\Dev\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,ssl=all,eesz=4M1M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10809 -build-path C:\Users\Chris\AppData\Local\Temp\arduino_build_995730 -warnings=all -build-cache C:\Users\Chris\AppData\Local\Temp\arduino_cache_504304 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\python\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\Users\Chris\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9 -verbose C:\Users\Chris\AppData\Local\Temp\untitled772240480.tmp\sketch_jun01a\sketch_jun01a.ino
Using board 'nodemcuv2' from platform in folder: C:\Users\Chris\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2
Using core 'esp8266' from platform in folder: C:\Users\Chris\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2
Detecting libraries used...
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\sketch\\sketch_jun01a.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\sketch\\sketch_jun01a.ino.cpp" -o "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\sketch\\sketch_jun01a.ino.cpp" -o "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\sketch\\sketch_jun01a.ino.cpp.o"
Compiling libraries...
Compiling core...
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\python\\3.7.2-post1/python" "C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/signing.py" --mode header --publickey "C:\\Users\\Chris\\AppData\\Local\\Temp\\untitled772240480.tmp\\sketch_jun01a/public.key" --out "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core/Updater_Signing.h"
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-gcc" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -g -x assembler-with-cpp -MMD -mlongcalls -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\cont.S" -o "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\core\\cont.S.o"
........ More compilation wibble, no warnings or errors
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\umm_malloc\\umm_malloc.cpp" -o "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\core\\umm_malloc\\umm_malloc.cpp.o"
"C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/lwip2/include" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DFLASHMODE_DIO -DESP8266 "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266" "-IC:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\variants\\nodemcu" "C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2\\cores\\esp8266\\libb64\\cdecode.cpp" -o "C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730\\core\\libb64\\cdecode.cpp.o"
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
I've seen posts about this error in the past, but nothing seems to have cropped up recently.
Any pointers would be appreciated. If all else fails I skip back to 2.4.2
**LATER** Tried various tweaks, but compiling the core still fails with Exit Status 1. Seems to fail when trying to compile different modules in the esp8266 core. Seems no rhyme nor reason to it, which makes me think might be something more fundamental with my setup. I'll do a fresh install and see if that clears up any weirdness.
Would certainly benefit from any pointers!