Closed dkulacz closed 3 years ago
go bigger: https://gcc.gnu.org/gcc-11/
Root cause was gcc-10 has -fno-common enabled by default causing problems with newlib built-in syscalls (multiple definitions of errno when linking etc). Building newlib with -fcommon seems to mitigate this. Alternative to using -fcommon is building newlib without built-in syscalls and providing own implementation of i.e. _sbrk for malloc() etc.
go bigger: https://gcc.gnu.org/gcc-11/
challenge accepted ;)
Great job figuring out gcc-10 issue!