dkulacz / gcc-v850-elf-toolchain

GCC-based toolchain for RH850
12 stars 8 forks source link

Upgrade to gcc-10 #1

Closed darklukee closed 3 years ago

dkulacz commented 4 years ago

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.

darklukee commented 4 years ago

Maybe gcc 10.2 fixed something :)

darklukee commented 3 years ago

Fixed in https://github.com/dkulacz/gcc-v850-elf-toolchain/pull/23