whenever I am trying to compile the code I am getting following error.Whereas when I am compile the same code on other PC its getting compiled succesfully.
Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\SMARK Work\Documents\Arduino\libraries\Arduino_FreeRTOS-master\src\variantHooks.cpp: In function 'initVariant':
C:\Users\SMARK Work\Documents\Arduino\libraries\Arduino_FreeRTOS-master\src\variantHooks.cpp:84:6: internal compiler error: Segmentation fault
void initVariant(void)
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
lto-wrapper: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.