https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61843
--- Comment #2 from peter <petermilani at qfr dot net.au> --- Possibly the same bug as: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=136763&start=0 segmentation fault goes away if I remove the -mrelax linker flag.