Arch linux- Problem with eeprom library

I can't use EEPROM library on arch linux. I tried to verify first exemple from EEPROM library and i have error. On windows everything is fine
This is the error:

Arduino: 1.6.9 (Linux), Board: "Arduino/Genuino Micro"
sketch/eepromclear.ino.cpp.o: In function EERef::operator=(unsigned char)': /usr/share/arduino/hardware/arduino/avr/libraries/EEPROM/src/EEPROM.h:47: undefined reference to `_eewr_byte_m32u4' collect2: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino/Genuino Micro.

Can you post the code that causes the problem?

Doesn't matter what program i'll run. Every program that contain eeprom library will cause problem.
Anyway this is an example of code:

#include <EEPROM.h>

void setup() {
// initialize the LED pin as an output.
pinMode(13, OUTPUT);

for (int i = 0 ; i < EEPROM.length() ; i++) {
EEPROM.write(i, 0);
}

// turn the LED on when we're done
digitalWrite(13, HIGH);
}

void loop() {
/** Empty loop. **/
}

I uninstall arduino and avr-gcc. After instaling arduino i get error compiling so i did this:
https://wiki.archlinux.org/index.php/arduino#Error_compiling

install package avr-gcc
Replace build-in avr-gcc compiler by same from package installed on previous step:
cd /usr/share/arduino/hardware/tools/avr/bin
mv ./avr-gcc ./avr-gcc-backup
ln -s /usr/bin/avr-gcc ./

After that i get another error: "avr/io nu such file or directory" so i intalled gcc-libc, but i get this error:

Arduino: 1.6.9 (Linux), Board: "Arduino/Genuino Micro"
sketch/eepromclear.ino.cpp.o: In function EERef::operator=(unsigned char)': /usr/share/arduino/hardware/arduino/avr/libraries/EEPROM/src/EEPROM.h:47: undefined reference to `_eewr_byte_m32u4' collect2: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino/Genuino Micro.