https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80314 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Your configure options include: --enable-__cxa_atexit Why are you using that if your system doesn't support it?