https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
--- Comment #29 from Xi Ruoyao <xry111 at mengyan1223 dot wang> --- I'm sure -flto-parition=none is needed for workaround, now. It keeps .symver directive and the function definition in the same assembly file. Unfortunately for large codebase -flto-partition leads to OOM.