Error compiling program for HoodLoader2 Uno
I was able to flash HoodLoader2 correctly. I can also veryfy this in devices and printers but while flashing any program, I'm getting this:
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
exit status 1
Compilation error: exit status 1
Did you fix it I have same issue.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
I am having this issue too! kind of wierd
I also got the same error when using Arduino IDE 2.x. Using Arduino IDE 1.8.x instead solved the problem for me. (PS Thanks @FRALEXAlexander for the advice)
@NicoHood Same issue with VS Code and the Arduino extension :(
pretty sure I fixed this by installing 1.8.3 Arduino AVR Boards in board manager
Using Arduino IDE 1.8.x instead solved the problem for me.
I am also encountering this error. Switching to Arduino IDE 1.8.19 solved the problem for me as well however compatibility with Arduino IDE 2.X.X would be greatly appreciated.
The issue above fixes by installing the proper board definitions in board manager. Closing it to prevent any confusion.
@Sanjeet990 Are you saying that the issue will not occur with Arduino 2.X as well? It was established that the legacy IDE doesn't have this issue anymore.
Also I use VS Code with the Arduino extension by Microsoft which caused the error I posted.
For building the HoodLoader I would prefer not to need the legacy IDE since everyone is switching away from it to the new, modular, cool v2.x IDE. Would you please re-open the issue until this is also fixed for the v2.x?