https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109741
--- Comment #8 from Janez Zemva <janezz55 at gmail dot com> --- Here is the compile error: ../../../../../gcc-13.1.0/libstdc++-v3/src/c++11/shared_ptr.cc: In function '__gnu_cxx::__mutex& __gnu_internal::get_mutex(unsigned char)': ../../../../../gcc-13.1.0/libstdc++-v3/src/c++11/shared_ptr.cc:42:44: error: requested alignment '64' exceeds object file maximum 16 42 | char buffer[(sizeof (M)) * (mask + 1)]; | ^ I agree with your findings.