Problem solved 1. Instead of the latest and greatest versions of the libraries (mpc, gmp, mpfr, isl) I used the download_prerequisites script in contrib 2. I used a gcc 8 binary gcc 10.2 built successfully Thanks בתאריך יום ג׳, 11 באוג׳ 2020, 02:53, מאת Jim Wilson <jimw@xxxxxxxxxx>: > On Sun, Aug 9, 2020 at 6:01 PM Ron Zamir via Gcc-help > <gcc-help@xxxxxxxxxxx> wrote: > > trying to build gcc-10.2 > > I've added the latest sources for the GMP, MPFR, MPC, ISL libraries > > My system is CentOS 7.8 with gcc version 4.85 > > gcc-4.8.5 is rather old. I'd suggest installing a more recent version > of gcc using the software collections web site. > > https://wiki.centos.org/AdditionalResources/Repositories/SCL > https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/ > > Looks like gcc-8 is the most recent one that they have, but using > gcc-8 to build gcc-10 will likely work much better than using > gcc-4.8.5 to build gcc-10. Adding the devtoolset-8 also gets you more > recent versions of gmp, mpfr, and mpc, which might be recent enough to > make the gcc-10 build happy. > > Jim >