Mixing proprocessors, compilers, linkers, assemblers, etc. from different toolchains (even different versions of the same brand) is certainly not advised. Also, linking libraries compiled with toolchain A against an executable compiled with toolchain B often doesn’t work.