https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109589
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Last reconfirmed| |2023-04-21 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I believe the problem is that only since r5-2699-g5d9607f0ee036a aka PR62101 fix we accept those friend void mpz_clear (auto_mpz&) = delete; friend void mpz_init (auto_mpz&) = delete; lines in system.h and realmpfr.h, errors on this break various configure tests and so we end up with e.g. typedef __rlim_t long; because #define rlim_t long. So, either we need to say 4.8.5 and 4.9.x are unsupported, or perhaps could these friend deletions be not done for (GCC_VERSION >= 4008 && GCC_VERSION < 5000)?