Arduino web editor Linking Everything Together fatal error

I receive the following error when trying to use the web editor to verify the Blink code.

./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -logger humantags -fqbn arduino:avr:uno -build-cache /tmp -build-path /tmp/865960930/build -verbose -prefs -prefs -prefs -libraries /tmp/865960930/custom -libraries /tmp/865960930/pinned /tmp/865960930/Blink_copy

Linking everything together…

lto1: fatal error: bytecode stream generated with LTO version 3.0 instead of the expected 4.1

compilation terminated.

lto-wrapper: fatal error: ./opt/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-gcc returned 1 exit status

compilation terminated.

/home/ubuntu/opt/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/…/lib/gcc/avr/5.4.0/…/…/…/…/avr/bin/ld: error: lto-wrapper failed

collect2: error: ld returned 1 exit status

exit status 1

There are multiple other reports of this bug:

I recommend subscribing to those threads so that you'll be sure to get news of any progress in fixing it.

This is an Arduino Web Editor specific problem so the workaround is to use the regular Arduino IDE, which you can download for free from:

Hello, please follow topic Issue 2018-10-30: lto-wrapper error prevent compilations for further information and updates about this.

Thank you.

Does anyone have a suggestion to resolve this?

Is it still happening for you? It was supposed to have been fixed days ago. I just did a test compile and the Arduino Web Editor is working fine for me.

Also confirmed working. jb298894 Can you share your sketch link in case it is related to your sketch. Also dont forget to clear your browsers / computers cache etc before re-starting the web editor. I use CCLEANER ( free version) for just that purpose.