Author Topic: arm-none-eabi-g++: error: core/syscalls.c.o: No such file or directory  (Read 383 times)

biomurph

  • RFduino Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Hi,

I'm getting an intermittent error at compile time when I target Simblee.
It seems to work when Arduino has just been restarted, but then it could pop up the very next time, or I could have a run of successful uploads 3-10 or so times before it happens again. This is the entire error with showing verbose output during compilation:
Code: [Select]
Arduino: 1.8.2 (Mac OS X), Board: "Simblee"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Applications/Arduino.app/Contents/Java/portable/packages -hardware /Users/joelmurphy/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/joelmurphy/Documents/Arduino/libraries -fqbn=Simblee:Simblee:Simblee -ide-version=10802 -build-path /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509 -warnings=none -build-cache /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_cache_434079 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/examples/MicroOLED_Cube/MicroOLED_Cube.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Applications/Arduino.app/Contents/Java/portable/packages -hardware /Users/joelmurphy/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/joelmurphy/Documents/Arduino/libraries -fqbn=Simblee:Simblee:Simblee -ide-version=10802 -build-path /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509 -warnings=none -build-cache /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_cache_434079 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/examples/MicroOLED_Cube/MicroOLED_Cube.ino
Using board 'Simblee' from platform in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
Using cached library dependencies for file: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire/Wire.cpp
Using cached library dependencies for file: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp
Using cached library dependencies for file: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/hardware.cpp
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin -MMD -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/Wire/Wire.cpp.o
Compiling library "OpenHAK_MicroOLED"
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp.o
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/hardware.cpp.o
Compiling core...
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/variant.cpp.o
Using precompiled core
Linking everything together...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -Wl,--gc-sections --specs=nano.specs -mcpu=cortex-m0 -mthumb -D__Simblee__ "-T/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/linker_scripts/gcc/Simblee.ld" "-Wl,-Map,/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/MicroOLED_Cube.ino.map" -Wl,--cref -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/MicroOLED_Cube.ino.elf" "-L/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509" -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/syscalls.c.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/Wire/Wire.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/hardware.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/variant.cpp.o" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeSystem.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimblee.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeBLE.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeGZLL.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeForMobile.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeCOM.a" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/../arduino_cache_434079/core/core_Simblee_Simblee_Simblee_f8bf0459a6195d41a6206d524a837c2d.a" -Wl,--end-group
arm-none-eabi-g++: error: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/syscalls.c.o: No such file or directory
Using library Wire in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire (legacy)
Using library OpenHAK_MicroOLED in folder: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED (legacy)
exit status 1
Error compiling for board Simblee.

I have the same error when I use the Simblee board files 1.1.1 and 1.1.2

I'm on a macbook pro. One of the newer ones with the alien buttholes USB3 ports. OS 10.12.4

tolson

  • Global Moderator
  • *****
  • Posts: 854
  • Karma: +20/-0
    • View Profile
    • Thomas Olson Consulting
Re: arm-none-eabi-g++: error: core/syscalls.c.o: No such file or directory
« Reply #1 on: August 23, 2017, 02:54:21 PM »
Hi biomurph,

Did you get this syscalls.c.o error resolved?

I am seeing the same thing occasionally on Arduino 1.8.3 and Simblee 1.1.2 and 1.1.3.

Hopefully somebody from RF Digital with inside information can comment.



tolson

  • Global Moderator
  • *****
  • Posts: 854
  • Karma: +20/-0
    • View Profile
    • Thomas Olson Consulting
Re: arm-none-eabi-g++: error: core/syscalls.c.o: No such file or directory
« Reply #2 on: August 23, 2017, 03:24:35 PM »
I don't know why, or if this is repeatable.

The issue went away when I un-checked in the Preferences...
Aggressively cache compiled core


RFD_Nelson

  • RFduino Team
  • *****
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: arm-none-eabi-g++: error: core/syscalls.c.o: No such file or directory
« Reply #3 on: August 24, 2017, 09:42:54 AM »
tolson beat me to it.  :D

Yes, please do uncheck "Aggressively Cache Compiled Core" in the Arduino preferences.

Thanks,

Nelson

 

anything