Currently HaikuPorts GCC version can’t be compiled for RISC-V because of missing RISC-V configuration definition. HaikuPorts and buildtools GCC code differs.
Maybe using buildtools GCC code with HaikuPorts recipe may help.
Yes, that’s how it should be done, I don’t know why this isn’t the case already and it has caused us many problems in the past.
1 Like
It is using the old gcc bootstrap recipe for some reason. There is a 2021 that has the updated ARM64 and Risc-V changes. So probably just some config file for which recipe to use.
I found that binutils from haikuports.cross are using old version and its own patchset. It seems the reason of some linker errors on riscv64.
3 Likes