Arduino 8266 not working with pio 4.3.1

Duplicate of How do I get gcc 5.2.0 compiler in platformIO ESP8266 [SOLVED].