Ok, just an update, i tried compiling the toolchain by myself following this thread, using a newer version of GCC and so on, now even the samples that previously i could compile, now i can't
Basically same error as before, but instead of it being an undefined reference to __sdivsi3 it's...