Created attachment 391676 [details, diff] Adds -sanitize gcc use flag for avg target avr-gcc don't support sanitize but on my system with gcc 4.8.3 crossdev try to compile with sanitize use flag. This can by simple resolved by adding -sanitize to gcc use flags. Patch for crossdev attached.
*** This bug has been marked as a duplicate of bug 525910 ***