I was struck by this issue on GNU / Linux last week.
Actually, the compiler is working fine. The cause of the problem is an unsuccessful attempt to link to avr-libc .
avr-libc-1.8.1 just too old to work with GCC 5. Although 1.8.1 is the latest version of avr-libc , it was released a year ago ... The developed version of avr-libc updated to catch GCC 5, you can clone subversion repository:
svn co svn:
and compile it yourself. If you are not familiar with how to compile your own source code from source code, there are a lot of documentation and tutorials on the Internet.
source share