In my last version of platfomIO I get this link error during the build process:
.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/nofp/libc_nano.a(lib_a-init.o): in function `__libc_init_array’:
(.text.__libc_init_array+0x14): undefined
collect2: error: ld returned 1 exit status
*** [.pio/build/xmc4700/program.elf] Error 1
It may also help to point the platform at the current, latest commit. I see an update of the Arduino core has been made last month, but no new version tag has been released for the last 6 years.
If the builder scirpt allows you to start a build for the Arduino framework with a specific board but gives you a linker error in the end, that’s a bug. Definitely needs to be fixed in the platform or Arduino core. A board should either be fully supported or throw a “this framework does not support this board” error.