Teensyduino link error

Everything I try to build ends up with the following errors. I have no clue...

 void setup() {
    Serial.begin(9600);
    Serial.printf ("start\n");
}

void loop() {
  Serial.printf ("run\n");
}
FQBN: teensy:avr:teensy41:opt=o3lto
Using board 'teensy41' from platform in folder: /Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0
Using core 'teensy4' from platform in folder: /Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0

Detecting libraries used...
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4 /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch/sketch_apr16a.ino.cpp -o /dev/null
Generating function prototypes...
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4 /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch/sketch_apr16a.ino.cpp -o /private/var/folders/4f/gbtv394d4fz860b3j_pxd6w80000gn/T/1452031854/sketch_merged.cpp
/Users/loren/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/4f/gbtv394d4fz860b3j_pxd6w80000gn/T/1452031854/sketch_merged.cpp

Compiling sketch...
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-tools/1.59.0/precompile_helper /Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4 /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062 /Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -x c++-header -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4 /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/pch/Arduino.h -o /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/pch/Arduino.h.gch
Using previously compiled file: /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/pch/Arduino.h.gch
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -c -O3 -flto -fno-fat-lto-objects -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/pch -I/Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4 /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch/sketch_apr16a.ino.cpp -o /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch/sketch_apr16a.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /Users/loren/Library/Caches/arduino/cores/teensy_avr_teensy41_usb_serial,speed_600,opt_o3lto,keys_en-us_f3d4898dac4721833db61233c4186133/core.a
Linking everything together...
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-gcc -O3 -flto -fno-fat-lto-objects -Wl,--gc-sections,--relax -T/Users/loren/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4/imxrt1062_t41.ld -fuse-linker-plugin -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch_apr16a.ino.elf /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch/sketch_apr16a.ino.cpp.o /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/../../cores/teensy_avr_teensy41_usb_serial,speed_600,opt_o3lto,keys_en-us_f3d4898dac4721833db61233c4186133/core.a -L/Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062 -larm_cortexM7lfsp_math -lm -lstdc++
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: address 0xc0 of /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch_apr16a.ino.elf section `.bss' is not within region `DTCM'
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: address 0xc0 of /Users/loren/Library/Caches/arduino/sketches/21E343C3D25138E4028095ECFF59C062/sketch_apr16a.ino.elf section `.bss' is not within region `DTCM'
/Users/loren/Library/Arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol ImageVectorTable; not setting start address
collect2: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

For Teensy specific things you might try asking on the PJRC forum:
What's new | Teensy Forum

It also might help to know more about your build. Looks like maybe Arduino IDE 2.x and
a current version of Teensy board (1.59).

Some of the things I might try if I was in this state:
Try clearing out the Arduino cache: /Users/loren/Library/Caches/arduino

What options are you running with? LIke what optimization? Try changing it and see
if that makes difference.

Try uninstall, reinstall of Teensy board, in case it was corrupted.

Good luck

Thanks for the quick reply.

Will do.

IDE 2.26, and Teensy 1.59.0

Cleared cache. No change.

Tried a few optimization settings. No change.

Reinstalled, no change.

Installed beta version of Teensyduino.

Problem fixed.