With these modifications I can build again a toolchain. The toolchain has been used to build
our embedded projects and no problems have been noticed. The binaries are running on the hardware board.
However no exhaustive tests have been performed to check if the modified source of picolibc are breaking
something in running firmware.
Since some time my building of the toolchain ends in error in building picolibc libraries. To remove the errors, I edited two files.
newlib/libc/search/qsort.c
Remove the lines 167-169
newlib/libc/string/xpg_strerror_r.c
Remove the lines 7-8
With these modifications I can build again a toolchain. The toolchain has been used to build our embedded projects and no problems have been noticed. The binaries are running on the hardware board. However no exhaustive tests have been performed to check if the modified source of picolibc are breaking something in running firmware.