Build is failing because test compilation of c++ code (at the end of build script) has linker issue: duplicated symbol 'errno' found in some system libraries. Theoretically building newlib with --disable-newlib-supplied-syscalls and then supplying all required syscalls implementation (_read, _exit, _sbrk etc.) externally should solve a problem. Example syscalls for newlib can be found at https://freddiechopin.info/en/download/category/9-various?download=51%3Asyscalls
Issue need deeper investigation to explain why test c++ code is able to build and link on gcc 9.3.0 but is not on gcc 10.1.0.
Build is failing because test compilation of c++ code (at the end of build script) has linker issue: duplicated symbol 'errno' found in some system libraries. Theoretically building newlib with --disable-newlib-supplied-syscalls and then supplying all required syscalls implementation (_read, _exit, _sbrk etc.) externally should solve a problem. Example syscalls for newlib can be found at https://freddiechopin.info/en/download/category/9-various?download=51%3Asyscalls Issue need deeper investigation to explain why test c++ code is able to build and link on gcc 9.3.0 but is not on gcc 10.1.0.