HoodLoader2 icon indicating copy to clipboard operation
HoodLoader2 copied to clipboard

Error compiling program for HoodLoader2 Uno

Open Sanjeet990 opened this issue 2 years ago • 4 comments

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

Sanjeet990 avatar Jan 29 '23 15:01 Sanjeet990

Did you fix it I have same issue.

cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.

Bnco3DTech avatar Dec 04 '23 05:12 Bnco3DTech

I am having this issue too! kind of wierd

Kandermann avatar Jan 17 '24 11:01 Kandermann

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)

TannerGilbert avatar Feb 09 '24 23:02 TannerGilbert

@NicoHood Same issue with VS Code and the Arduino extension :(

image

DRSDavidSoft avatar Apr 28 '24 13:04 DRSDavidSoft

pretty sure I fixed this by installing 1.8.3 Arduino AVR Boards in board manager

syfenx avatar Jul 10 '24 05:07 syfenx

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.

SlopeSlayer910 avatar Aug 14 '24 19:08 SlopeSlayer910

The issue above fixes by installing the proper board definitions in board manager. Closing it to prevent any confusion.

Sanjeet990 avatar Aug 18 '24 07:08 Sanjeet990

@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?

DRSDavidSoft avatar Aug 18 '24 10:08 DRSDavidSoft