For Linux, --allow-multiple-definition has been added to the linker options, but it does not seem useful for us.