Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 10 of 10

Thread: LTO fails (Arduino 1.8.5 & 1.8.7, Teensyduino 1.44) with certain libraries

  1. #1
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    115

    LTO fails (Arduino 1.8.5 & 1.8.7, Teensyduino 1.44) with certain libraries

    Hello,
    I'm running Arduino 1.8.5 with Teensyduino 1.44 on Windows 10 (also tried 1.8.7 + 1.44 on another Win10 PC: same issue).
    Installed Teensyduino 1.44 as the latest step.
    Allowed Teensyduino to install all "its" libraries, and did not install/modify libraries afterwards.

    I was building this OLED sample:

    Code:
    #include <Wire.h>
    #include <Adafruit_GFX.h>
    #include <Adafruit_SSD1306.h>
    #include <stdint.h>
    
    #define OLED_RESET 4
    #define OLED_I2C_ADDRESS 0x3c // Nota: Adafruit_SSD1306.h riporta erroneamente 0x3D per il 132x64
    #define MAX_TEXT_DURATION_MS 36000000L // 10 ore di permanenza
    
    #define TEST_TEXT_01 "Prova display 132x64: testo piccolo אטילעש..." //  168 caratteri su 8 righe (21 x 8). Accentate non vanno
    #define TEST_TEXT_02 "Testo grande, lungo, senza a capo imposti" // Arriva fino alla t di imposti, su 4 righe: 40 caratteri (10 caratteri x 4 righe)
    #define TEST_TEXT_03 "Testo grande e invertito"
    #define TEXT_SIZE_SMALL 1
    #define TEXT_SIZE_LARGE 2
    #define TEXT_DURATION_S 20
    
    #define TEXT_XPOS 0
    #define TEXT_YPOS 0
    
    #if (SSD1306_LCDHEIGHT != 64)
    #error("Height incorrect, please fix Adafruit_SSD1306.h!");
    #endif
    
    // GLOBALS
    Adafruit_SSD1306 display(OLED_RESET);
    
    void displayInit(const uint8_t bDisplayI2Caddress)
    {
      // by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
      display.begin(SSD1306_SWITCHCAPVCC, bDisplayI2Caddress); 
    
      // Clear the **buffer** (non pulisce effettivamente lo schermo, solo il buffer interno!)
      display.clearDisplay();    
    }
    
    void displayClear()
    {  
      display.clearDisplay(); // Clears the **buffer** (non pulisce effettivamente lo schermo, solo il buffer interno!)
      display.display();      // Mostra il buffer sullo schermo: essendo stato appena svuotato, di fatto pulisce lo schermo
    }
    
    void displayText(const char* sText, const uint8_t bSize, const uint8_t bStartX, const uint8_t bStartY, const bool Inverted, const uint16_t uDurationSeconds)
    { // Se si passa 0 come durationSeconds, lascia la scritta visibile senza pulire il display e senza effettuare cicli di attesa (ok per operazioni in successione)
      if (sText != NULL)
      {
        if (bSize > 0)
        {
          int iDurationMilliseconds = uDurationSeconds * 1000;
          if (iDurationMilliseconds > MAX_TEXT_DURATION_MS)
            iDurationMilliseconds = MAX_TEXT_DURATION_MS;
            
          display.setTextSize(bSize);     
          if (Inverted)
            display.setTextColor(BLACK, WHITE);
          else
            display.setTextColor(WHITE);
          display.setCursor(bStartX, bStartY);
          display.println(sText);
          display.display();
          if (iDurationMilliseconds > 0)
          {
            delay(iDurationMilliseconds);
            displayClear();
          }
        }
      }
    }
      
    void setup()   
    {                
      displayInit(OLED_I2C_ADDRESS);
    
      // Testo lasciato a tempo indeterminato (fino a nuovo comando)
      displayText(TEST_TEXT_01, TEXT_SIZE_SMALL, TEXT_XPOS, TEXT_YPOS, 0, 0);
      // Aspettiamo (nel frattempo rimane il testo)
      delay(1000 * TEXT_DURATION_S);
      // Puliamo lo schermo
      displayClear();
      // Testo lasciato per N secondi
      displayText(TEST_TEXT_02, TEXT_SIZE_LARGE, TEXT_XPOS, TEXT_YPOS, 0, TEXT_DURATION_S);
      // Testo invertito lasciato per N secondi
      displayText(TEST_TEXT_03, TEXT_SIZE_LARGE, TEXT_XPOS, TEXT_YPOS, 1, TEXT_DURATION_S);
    }
    
    void loop() {
      
    }
    I selected my board (Teensy LC) and "Fastest with LTO" as compilation flags.

    The build fails with this error message:

    Error: lo register required -- `sub r9,#1'

    lto-wrapper.exe: fatal error: D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc returned 1 exit status

    compilation terminated.

    d:/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed


    Full build log:



    Code:
    Arduino: 1.8.5 (Windows 10), TD: 1.44, Board: "Teensy LC, Serial, 24 MHz, Fastest with LTO, US English"
    
    D:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Arduino\hardware -hardware L:\Progetti\Arduino\hardware -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -built-in-libraries D:\Arduino\libraries -libraries L:\Progetti\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=24,opt=o3lto,keys=en-us -ide-version=10805 -build-path c:\temp\arduino_build_820545 -warnings=none -verbose L:\Progetti\Arduino\Oled_Text_128x64_i2c\Oled_Text_128x64_i2c.ino
    D:\Arduino\arduino-builder -compile -logger=machine -hardware D:\Arduino\hardware -hardware L:\Progetti\Arduino\hardware -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -built-in-libraries D:\Arduino\libraries -libraries L:\Progetti\Arduino\libraries -fqbn=teensy:avr:teensyLC:usb=serial,speed=24,opt=o3lto,keys=en-us -ide-version=10805 -build-path c:\temp\arduino_build_820545 -warnings=none -verbose L:\Progetti\Arduino\Oled_Text_128x64_i2c\Oled_Text_128x64_i2c.ino
    Using board 'teensyLC' from platform in folder: D:\Arduino\hardware\teensy\avr
    Using core 'teensy3' from platform in folder: D:\Arduino\hardware\teensy\avr
    Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB
    Build options changed, rebuilding all
    Detecting libraries used...
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\Wire.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\WireKinetis.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\utility\twi.c" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_GFX.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\glcdfont.c" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp" -o "nul"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\SPI\SPI.cpp" -o "nul"
    Generating function prototypes...
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "c:\temp\arduino_build_820545\preproc\ctags_target_for_gcc_minus_e.cpp"
    "D:\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "c:\temp\arduino_build_820545\preproc\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "D:\Arduino\hardware\teensy/../tools/precompile_helper" "D:\Arduino\hardware\teensy\avr/cores/teensy3" "c:\temp\arduino_build_820545" "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -x c++-header -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr/cores/teensy3" "c:\temp\arduino_build_820545/pch/Arduino.h" -o "c:\temp\arduino_build_820545/pch/Arduino.h.gch"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp" -o "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp.o"
    Compiling libraries...
    Compiling library "Wire"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\Wire.cpp" -o "c:\temp\arduino_build_820545\libraries\Wire\Wire.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\WireKinetis.cpp" -o "c:\temp\arduino_build_820545\libraries\Wire\WireKinetis.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire\utility" "D:\Arduino\hardware\teensy\avr\libraries\Wire\utility\twi.c" -o "c:\temp\arduino_build_820545\libraries\Wire\utility\twi.c.o"
    Compiling library "Adafruit_GFX"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\glcdfont.c" -o "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\glcdfont.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_GFX.cpp" -o "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\Adafruit_GFX.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp" -o "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp.o"
    Compiling library "Adafruit_SSD1306"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp" -o "c:\temp\arduino_build_820545\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o"
    Compiling library "SPI"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "-ID:\Arduino\hardware\teensy\avr\libraries\Wire" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX" "-ID:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306" "-ID:\Arduino\hardware\teensy\avr\libraries\SPI" "D:\Arduino\hardware\teensy\avr\libraries\SPI\SPI.cpp" -o "c:\temp\arduino_build_820545\libraries\SPI\SPI.cpp.o"
    Compiling core...
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\memcpy-armv7m.S" -o "c:\temp\arduino_build_820545\core\memcpy-armv7m.S.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\memset.S" -o "c:\temp\arduino_build_820545\core\memset.S.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\analog.c" -o "c:\temp\arduino_build_820545\core\analog.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\eeprom.c" -o "c:\temp\arduino_build_820545\core\eeprom.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\keylayouts.c" -o "c:\temp\arduino_build_820545\core\keylayouts.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\math_helper.c" -o "c:\temp\arduino_build_820545\core\math_helper.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\mk20dx128.c" -o "c:\temp\arduino_build_820545\core\mk20dx128.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\nonstd.c" -o "c:\temp\arduino_build_820545\core\nonstd.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\pins_teensy.c" -o "c:\temp\arduino_build_820545\core\pins_teensy.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\ser_print.c" -o "c:\temp\arduino_build_820545\core\ser_print.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial1.c" -o "c:\temp\arduino_build_820545\core\serial1.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial2.c" -o "c:\temp\arduino_build_820545\core\serial2.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial3.c" -o "c:\temp\arduino_build_820545\core\serial3.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial4.c" -o "c:\temp\arduino_build_820545\core\serial4.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial5.c" -o "c:\temp\arduino_build_820545\core\serial5.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial6.c" -o "c:\temp\arduino_build_820545\core\serial6.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\serial6_lpuart.c" -o "c:\temp\arduino_build_820545\core\serial6_lpuart.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\touch.c" -o "c:\temp\arduino_build_820545\core\touch.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_desc.c" -o "c:\temp\arduino_build_820545\core\usb_desc.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_dev.c" -o "c:\temp\arduino_build_820545\core\usb_dev.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_joystick.c" -o "c:\temp\arduino_build_820545\core\usb_joystick.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_keyboard.c" -o "c:\temp\arduino_build_820545\core\usb_keyboard.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_mem.c" -o "c:\temp\arduino_build_820545\core\usb_mem.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_midi.c" -o "c:\temp\arduino_build_820545\core\usb_midi.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_mouse.c" -o "c:\temp\arduino_build_820545\core\usb_mouse.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_mtp.c" -o "c:\temp\arduino_build_820545\core\usb_mtp.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_rawhid.c" -o "c:\temp\arduino_build_820545\core\usb_rawhid.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_seremu.c" -o "c:\temp\arduino_build_820545\core\usb_seremu.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_serial.c" -o "c:\temp\arduino_build_820545\core\usb_serial.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_touch.c" -o "c:\temp\arduino_build_820545\core\usb_touch.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\AudioStream.cpp" -o "c:\temp\arduino_build_820545\core\AudioStream.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\DMAChannel.cpp" -o "c:\temp\arduino_build_820545\core\DMAChannel.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\EventResponder.cpp" -o "c:\temp\arduino_build_820545\core\EventResponder.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial1.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial1.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial2.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial2.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial3.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial3.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial4.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial4.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial5.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial5.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\HardwareSerial6.cpp" -o "c:\temp\arduino_build_820545\core\HardwareSerial6.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\IPAddress.cpp" -o "c:\temp\arduino_build_820545\core\IPAddress.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\IntervalTimer.cpp" -o "c:\temp\arduino_build_820545\core\IntervalTimer.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\Print.cpp" -o "c:\temp\arduino_build_820545\core\Print.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\Stream.cpp" -o "c:\temp\arduino_build_820545\core\Stream.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\Tone.cpp" -o "c:\temp\arduino_build_820545\core\Tone.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\WMath.cpp" -o "c:\temp\arduino_build_820545\core\WMath.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\WString.cpp" -o "c:\temp\arduino_build_820545\core\WString.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\avr_emulation.cpp" -o "c:\temp\arduino_build_820545\core\avr_emulation.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\main.cpp" -o "c:\temp\arduino_build_820545\core\main.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\new.cpp" -o "c:\temp\arduino_build_820545\core\new.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_audio.cpp" -o "c:\temp\arduino_build_820545\core\usb_audio.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_flightsim.cpp" -o "c:\temp\arduino_build_820545\core\usb_flightsim.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\usb_inst.cpp" -o "c:\temp\arduino_build_820545\core\usb_inst.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=144 -DARDUINO=10805 -DF_CPU=24000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-Ic:\temp\arduino_build_820545/pch" "-ID:\Arduino\hardware\teensy\avr\cores\teensy3" "D:\Arduino\hardware\teensy\avr\cores\teensy3\yield.cpp" -o "c:\temp\arduino_build_820545\core\yield.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\memcpy-armv7m.S.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\memset.S.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\analog.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\eeprom.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\keylayouts.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\math_helper.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\mk20dx128.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\nonstd.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\pins_teensy.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\ser_print.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial1.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial2.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial3.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial4.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial5.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial6.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\serial6_lpuart.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\touch.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_desc.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_dev.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_joystick.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_keyboard.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_mem.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_midi.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_mouse.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_mtp.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_rawhid.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_seremu.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_serial.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_touch.c.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\AudioStream.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\DMAChannel.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\EventResponder.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial1.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial2.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial3.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial4.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial5.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\HardwareSerial6.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\IPAddress.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\IntervalTimer.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\Print.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\Stream.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\Tone.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\WMath.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\WString.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\avr_emulation.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\main.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\new.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_audio.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_flightsim.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\usb_inst.cpp.o"
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc-ar" rcs "c:\temp\arduino_build_820545\core\core.a" "c:\temp\arduino_build_820545\core\yield.cpp.o"
    Linking everything together...
    "D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -O3 -flto -fno-fat-lto-objects -Wl,--gc-sections,--relax,--defsym=__rtc_localtime=1538856978 "-TD:\Arduino\hardware\teensy\avr\cores\teensy3/mkl26z64.ld" -lstdc++ -fuse-linker-plugin -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -o "c:\temp\arduino_build_820545/Oled_Text_128x64_i2c.ino.elf" "c:\temp\arduino_build_820545\sketch\Oled_Text_128x64_i2c.ino.cpp.o" "c:\temp\arduino_build_820545\libraries\Wire\Wire.cpp.o" "c:\temp\arduino_build_820545\libraries\Wire\WireKinetis.cpp.o" "c:\temp\arduino_build_820545\libraries\Wire\utility\twi.c.o" "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\glcdfont.c.o" "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\Adafruit_GFX.cpp.o" "c:\temp\arduino_build_820545\libraries\Adafruit_GFX\Adafruit_SPITFT.cpp.o" "c:\temp\arduino_build_820545\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o" "c:\temp\arduino_build_820545\libraries\SPI\SPI.cpp.o" "c:\temp\arduino_build_820545/core\core.a" "-Lc:\temp\arduino_build_820545" -larm_cortexM0l_math -lm
    c:\temp\ccImOjFF.s: Assembler messages:
    
    c:\temp\ccImOjFF.s:397: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:434: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:471: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:508: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:545: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:582: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:619: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:656: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:693: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:730: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:767: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:804: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:847: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:884: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:921: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:958: Error: lo register required -- `sub r9,#1'
    
    c:\temp\ccImOjFF.s:995: Error: lo register required -- `sub r9,#1'
    
    lto-wrapper.exe: fatal error: D:\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc returned 1 exit status
    
    compilation terminated.
    
    d:/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed
    
    collect2.exe: error: ld returned 1 exit status
    
    Using library Wire at version 1.0 in folder: D:\Arduino\hardware\teensy\avr\libraries\Wire 
    Using library Adafruit_GFX at version 1.2.3 in folder: D:\Arduino\hardware\teensy\avr\libraries\Adafruit_GFX 
    Using library Adafruit_SSD1306 at version 1.1.2 in folder: D:\Arduino\hardware\teensy\avr\libraries\Adafruit_SSD1306 
    Using library SPI at version 1.0 in folder: D:\Arduino\hardware\teensy\avr\libraries\SPI 
    Error compiling for board Teensy LC.
    Please note that other sketches (for example: blink) build and run just fine with same options.

    Any hint?
    Thanks!

    Fernando

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,416
    Well, this line in the output:
    Code:
    Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB to: AVR_ATMEGA328BB
    looks suspicious.

    Any idea where it comes from?

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,416
    Apart from that, I can reproduce the issue.

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,416
    Can you try something?
    Please edit core_pins.h in Arduino\hardware\teensy\avr\cores\teensy3\
    Edit the lines, after 2064 https://github.com/PaulStoffregen/co...e_pins.h#L2064
    and instead use this:
    Code:
    #ifdef KINETISL
            "sub    %0, #1"                "\n\t"
            "bne    L_%=_delayMicroseconds"        "\n"
            : "+l" (n) :            
    #else
            "subs   %0, #1"                "\n\t"
            "bne    L_%=_delayMicroseconds"        "\n"
            : "+r" (n) :    
    #endif
    With this change, I don't get the error anymore - but my GCC-Inline-Assembler knowlage is limited. I HOPE it instructs GCC to use a lower register (r0-r7) in any case and not in this special case only.

    @Michael Meissner: I hope you're reading this - any thoughts? (Thumb-1 does not allow higher registers here - is my patch correct?)

    Edit: as PR: https://github.com/PaulStoffregen/co...282a8fb8f0bdf7
    Last edited by Frank B; 10-23-2018 at 03:13 PM.

  5. #5
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    115
    Thank you Frank.
    I'll try your suggestions soon and report back.

  6. #6
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    115
    Tried two projects which failed with LTO, and now they build without issues!
    Many thanks.

  7. #7
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    115
    Quote Originally Posted by Frank B View Post
    Well, this line in the output:
    Code:
    Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB to: AVR_ATMEGA328BB
    looks suspicious.

    Any idea where it comes from?
    I added an (incomplete) definition for a barebone Arduino (bare minimum components). Works but complains.

  8. #8
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,416
    Quote Originally Posted by XFer View Post
    Tried two projects which failed with LTO, and now they build without issues!
    Many thanks.
    It was a pleasure.

  9. #9
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,921
    Quote Originally Posted by Frank B View Post
    With this change, I don't get the error anymore - but my GCC-Inline-Assembler knowlage is limited. I HOPE it instructs GCC to use a lower register (r0-r7) in any case and not in this special case only.

    @Michael Meissner: I hope you're reading this - any thoughts? (Thumb-1 does not allow higher registers here - is my patch correct?)
    I don't know, I've never looked at the ARM processors or the GCC implementation on ARM. Scanning gcc/config/arm/constraints.md shows that "l" is for r0-r7 in thumb mode, but general regs in arm mode. So it looks correct.

  10. #10
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,416
    Thank you, Michael!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •