Hi all,
are you with Arduino IDE 1.8.0 ?
If yes did you try to downgrade the AVR version of Arduino 1.8.0 ?
Check the last two posts in this thread: https://forum.mysensors.org/topic/4801/building-an-ethernet-gateway/15
I'm not sure it will solve the problem but not bad to try.