https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Nicholas Williams from comment #1) > Created attachment 60438 [details] > gcc -v output from buggy RHEL/GCC14 The reason this doesn't work is because gcc-toolset-14 links to libstdc++_nonshared.a for the C++20 std::chrono pieces, so it's a static link. You'll get the same behaviour on Ubuntu if you use -static-libstdc++, it's nothing to do with the compiler version or the OS, it's the way that the symbols are linked into the executable.