https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63781 --- Comment #11 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- (In reply to howarth from comment #10) > So the compiler will emit the ___cxa_tm_cleanup to resolve the undefined > symbol in libitm? No, that symbol is in libstdc++