On Sun, Jan 16, 2022 at 01:18:51PM -0500, Kaleb Keithley wrote: > Ceph fails with gcc-12 too. > > scratch build at > https://koji.fedoraproject.org/koji/taskinfo?taskID=81280838 > > upstream ceph bug at https://tracker.ceph.com/issues/53896 That looks like a ceph bug. C++ says std::unique_ptr is defined in <memory>, and while that TU includes <memory>, it includes it only after src/include/rados/buffer.h has on line 97+ template <class T> struct unique_leakable_ptr : public std::unique_ptr<T, ceph::nop_delete<T>> { using std::unique_ptr<T, ceph::nop_delete<T>>::unique_ptr; }; Most likely with earlier g++ releases you got <memory> or parts of it indirectly from some other header. #include <cctype> #include <cerrno> #include <clocale> #include <cstdint> #include <cstdio> #include <cstdlib> #include <ctime> #include <cwchar> #include <cwctype> #include <exception> #include <initializer_list> #include <iomanip> #include <ios> #include <iosfwd> #include <istream> #include <list> #include <locale> #include <map> #include <new> #include <ostream> #include <sstream> #include <stdexcept> #include <stdlib.h> #include <streambuf> #include <string> #include <string_view> #include <system_error> #include <tuple> #include <typeinfo> #include <type_traits> #include <utility> #include <vector> are the standard C++ headers that are included before the std::unique_ptr use in the source, looking at g++ 10 output seems that <locale> included bits/unique_ptr as implementation detail. https://gcc.gnu.org/r12-2696 removed that implementation detail. Jakub _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure