I'm also getting the same error using the git repo as is, no changes. I also downloaded Marlin 2.0x bugfix and was able to compile that version.
The error I get when compiling the Marlin branch from Fysetc is:
*** [.pioenvs/fysetc_STM32F1/firmware.elf] Error 1