New Freematics-ONE and trying to upload datalogger sketch and I get "lto-wrapper failed" all of my other sketch with other Arduino boards are working fine. Please help
////////////////////////////////////////////////////////////////////////////////////////////////////////
lto1.exe: internal compiler error: in lto_output_varpool_node, at lto-cgraph.c:624
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
lto-wrapper failed
Re: lto-wrapper failed
Use an older version of Arduino IDE (with older avr-gcc) or use Freematics Builder.
Re: lto-wrapper failed
Updating Arduino IDE App to 1.8.10 Fixed this problem. Thx.
Re: lto-wrapper failed
This issue has been fixed. Please update Freematics ONE library and your code should compile with latest Arduino IDE.