https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306
--- Comment #33 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 39275 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39275&action=edit Patch candidate for the fallout Hi Andread. Can you please test me the following patch. I understand why the symbol is undefined, but what I don't understand why is atomic update mode selected for the test-case. Following patch should detect whether a target is capable of atomic update operations, however libgcov.a would still contain __atomic_fetch_add_8, which should be fine as soon as nobody is calling functions that contain the symbol?