https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99889
Kewen Lin <linkw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linkw at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2022-08-12 Status|UNCONFIRMED |NEW --- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> --- I think PR105169 already fixed the original issue in PR98125, although the referenced symbol is still _Z3foov, like: __patchable_function_entries,"awGo",@progbits,_Z3foov,_Z3foov,comdat // reverted the workaround as well. the linking works well without any errors.