Hi there,
Solus version: latest as of today.
Arduino IDE: 1.8.11 installed via the official graphical software installer.
Compiling an empty project I receive :
Arduino: 1.8.11 (Linux), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
/usr/share/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -libraries /home/apu/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10811 -build-path /tmp/arduino_build_355139 -warnings=none -build-cache /tmp/arduino_cache_731071 -prefs=build.warn_data_percentage=75 -verbose /tmp/untitled199275303.tmp/sketch_mar08a/sketch_mar08a.ino
/usr/share/arduino/arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -libraries /home/apu/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10811 -build-path /tmp/arduino_build_355139 -warnings=none -build-cache /tmp/arduino_cache_731071 -prefs=build.warn_data_percentage=75 -verbose /tmp/untitled199275303.tmp/sketch_mar08a/sketch_mar08a.ino
Using board 'mega' from platform in folder: /usr/share/arduino/hardware/arduino/avr
Using core 'arduino' from platform in folder: /usr/share/arduino/hardware/arduino/avr
Detecting libraries used...
/usr/share/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/usr/share/arduino/hardware/arduino/avr/cores/arduino -I/usr/share/arduino/hardware/arduino/avr/variants/mega /tmp/arduino_build_355139/sketch/sketch_mar08a.ino.cpp -o /dev/null
Generating function prototypes...
/usr/share/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/usr/share/arduino/hardware/arduino/avr/cores/arduino -I/usr/share/arduino/hardware/arduino/avr/variants/mega /tmp/arduino_build_355139/sketch/sketch_mar08a.ino.cpp -o /tmp/arduino_build_355139/preproc/ctags_target_for_gcc_minus_e.cpp
/usr/share/arduino/tools-builder/ctags/ctags-5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_355139/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/usr/share/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/usr/share/arduino/hardware/arduino/avr/cores/arduino -I/usr/share/arduino/hardware/arduino/avr/variants/mega /tmp/arduino_build_355139/sketch/sketch_mar08a.ino.cpp -o /tmp/arduino_build_355139/sketch/sketch_mar08a.ino.cpp.o
Assembler messages:
Fatal error: selected target format 'elf32-avr' unknown
exit status 1
Error compiling for board Arduino Mega or Mega 2560.
There is a similar issue on this forum : "Can't compile code in Arduino IDE" however is for Arduino IDE 1.8.10.
Also, I can't find the "Boardmanager" was claimed to help updating it.
Any idea how to go about solving this?
Thanks.