When a comdat symbol is defined in both bitcode and regular object files, which are contained in the same archive, the linker could lose the flag that the symbol is used in the regular object file and allow LTO to internalize it, which led to "error: undefined symbol".
The issue was introduced in D79300.
Would be good to include LTO in the comment to give some context. For example: