http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53284
--- Comment #1 from Richard Henderson <rth at gcc dot gnu.org> 2012-05-08 22:39:35 UTC --- Can you investigate why configure decides that __atomic_compare_exchange_8 is implemented inline? That it isn't inline is obvious from the recursion. Was the configure change to CFLAGS in fact wrong?