No, this is all in C code. It’s a understood problem with the gcc linker in that when the linker searches archived libraries it stops at the first occurrence of the symbol even if it’s a weak symbol. The solution is not to archive the libraries using lib_archive = false but that doesn’t seem to working for me.