Arm GNU toolchain version greater than 11.2 will throw out warnings during linking
closer.c:(.text._close_r+0xc): warning: _close is not implemented and will always fail lseekr.c:(.text._lseek_r+0x10): warning: _lseek is not implemented and will always fail readr.c:(.text._read_r+0x10): warning: _read is not implemented and will always fail
These link warnings will terminate build.
According to Arm GNU toolchain developers, developers are expected to provide all system calls implementation when using nosys.specs in new Arm GNU toolchain version.
So far, Arm GNU toolchain >= 11.3 is not supported in TF-Mv1.8.0, as a workaround. Users are suggested to use other versions <= 11.2 instead.
TF-M is working on to fix this issue via https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20612.