Repository navigation
Description
Board / MCU
Arduino Uno (ATmega328P)
LED Chipset
WS2812B / NeoPixel
FastLED Version
3.10.6
Arduino / PlatformIO version
Arduino IDE 2.3.10
Operating System
Windows
Description
Title:
FastLED 3.10.6 fails to link on Arduino UNO R4 WiFi (multiple definition of FileSystem::beginSd)
Description:
I have been using FastLED 3.10.5 ok, it has just updated to 3.10.6 and FastLED now fails to compile even with the minimal sketch code
Board:
Arduino UNO R4 WiFi
Arduino IDE:
2.3.10
FastLED:
3.10.6
Problem:
On updating to 3.10.6, my sketches now all fail to compile. This is even for a minimal sketch in Arduino as listed below:
#include <FastLED.h>
void setup() {}
void loop() {}
Linker output:
multiple definition of `fl::FileSystem::beginSd(int)'
Object files involved:
fl.system.sd+.cpp.o
fl.fs.sd+.cpp.o
Full error:
C:\Users<user>\AppData\Local\arduino\sketches...\libraries\FastLED\fl\build\fl.system.sd+.cpp.o:
multiple definition of `fl::FileSystem::beginSd(int)'
C:\Users<user>\AppData\Local\arduino\sketches...\libraries\FastLED\fl\build\fl.fs.sd+.cpp.o:
first defined here
collect2.exe: error: ld returned 1 exit status
Notes:
Rolling back to FastLED 3.10.5 fixes the problem immediately.
Steps to reproduce
Install FastLED 3.10.6
Create the following sketch on Arduino UNO and compile
#include <FastLED.h>
void setup() {}
void loop() {}
Minimal sketch
#include <FastLED.h>
void setup() {}
void loop() {}Serial / debug output
C:\Users\user\AppData\Local\arduino\sketches\B9A6496141EED41963A1A6E9C4581366\libraries\FastLED\fl\build\fl.system.sd+.cpp.o: In function `fl::shared_ptr<fl::FsImpl>::reset()':
E:\user\OneDrive\Documents\Arduino\libraries\FastLED\src/fl/stl/shared_ptr.h:291: multiple definition of `fl::FileSystem::beginSd(int)'
C:\Users\user\AppData\Local\arduino\sketches\B9A6496141EED41963A1A6E9C4581366\libraries\FastLED\fl\build\fl.fs.sd+.cpp.o:E:\user\OneDrive\Documents\Arduino\libraries\FastLED\src/fl/stl/shared_ptr.h:291: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1Checklist
- I have searched existing issues for duplicates
- I have tested with the latest FastLED release or git master
- I can reproduce this with a minimal sketch
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(build): tombstone fl.system.sd+.cpp so in-place upgrades link (#4704
zackees commentedon Oct 6, 2026
Fixed in #4714. Cause: 3.10.6 renamed the SD build unit
src/fl/build/fl.system.sd+.cpptofl.fs.sd+.cpp. Unpacking 3.10.6 over 3.10.5 leaves the old file in place, and Arduino compiles every .cpp under src/, soFileSystem::beginSdis defined twice. The next release ships an empty file under the old name, which overwrites the stale one. Workaround until then: deletelibraries/FastLEDcompletely and reinstall, or deletesrc/fl/build/fl.system.sd+.cppfrom your install. Why CI missed it: CI only builds clean checkouts and never tests an in-place upgrade. A release-time check (ci/check_released_sources.py) now requires an empty placeholder for every compiled source file a release removes.