https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306
--- Comment #32 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Andreas Schwab from comment #30) > /daten/aranym/gcc/gcc-20160811/Build/gcc/testsuite/g++/../../libgcov. > a(_gcov_time_profiler.o): In function `__gcov_time_profiler_atomic': > /daten/aranym/gcc/gcc-20160811/Build/m68k-linux/libgcc/../../../libgcc/ > libgcov-profiler.c:352: undefined reference to `__atomic_fetch_add_8' > collect2: error: ld returned 1 exit status > compiler exited with status 1 > FAIL: g++.dg/other/pr55650.C -std=gnu++98 (test for excess errors) Sorry for the breakage, I misread that gcov_type is always 64-bit long. Thus, having a system w/o memory load/store instructions of size 64-bit, -fprofile-update=atomic must be disabled and libgcov should not have *_atomic functions.