error: -fno-fat-lto-objects -need to remove cc1.exe that supports only with link

Arduino: 1.6.5 (Windows 8), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all

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

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

_17_08_2017_Fabric_star_stop_Buzzer_log-vr2.ino (22.1 KB)

Try upgrading to Arduino IDE 1.8.3 downloaded from http://www.arduino.cc/en/Main/Software

Thanks Pert, it worked