Linker problems

Not sure what the problem is but it seems to be related to the Linker.
In the online editor, I click on "Verify and Save" on a Macbook (10.13 + Chrome) and get the following errors. Note the reference to a ubuntu folder. I have compiled this project on another Macbook which runs Ubuntu 18.04 + Chrome.
Does the online arduino editor use a local tool chain, or does it use a tool chain that is on the network (@ AWS?).


./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/729893127/build -verbose -prefs runtime.tools.avr-gcc.path=./opt/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs runtime.tools.avrdude.path=./opt/tools/avrdude/6.3.0-arduino14 -prefs runtime.tools.arduinoOTA.path=./opt/tools/arduinoOTA/1.2.1 -libraries /tmp/729893127/custom -libraries /tmp/729893127/pinned /tmp/729893127/ex2_3_LEDs

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:
http://www.arduino.cc/en/Main/Software

mhayes:
Does the online arduino editor use a local tool chain, or does it use a tool chain that is on the network (@ AWS?).

On the network. The only thing running on your computer is what's needed for uploading.

Subscribe to all these threads?
Do you know if this issue has been formally reported as a bug, and if so, can we simply track that bug report?

Although there is a formal bug tracking system for the standard Arduino IDE and all of its components, the powers that be decided that for the Arduino Web Editor and the rest of the Arduino Create project, the Arduino forum should serve as the bug tracker. So all these duplicate forum threads are the official bug reports. It would be time consuming for the developers to provide updates on all 18 (and counting) threads, though they will likely try to comment on most of them once the bug is fixed. So, as I said, if you want to be sure to get notified of the progress then you'll need to subscribe to all of them.

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

Thank you.