From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 14C0D3857C47 for ; Tue, 11 Aug 2020 00:01:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 14C0D3857C47 Received: by mail-lf1-x129.google.com with SMTP id s9so5685056lfs.4 for ; Mon, 10 Aug 2020 17:01:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=NNFORkJns4Z9rhSLJRgt8MCtGYbkIHPXJXkinW81NLE=; b=HF0uVtYjLk2yzytXup8ddhSRZnq29r2xF0+nTy+59qapj4tIlszi3mzXm0e6oLAeqc x4RQTDD/cA416JHsv7L69a6lWKgM9yrkMd9tAQ2ubh5uChSQEV209kdxHYqMqgyJoqyO Xke92Cf5T6HUP74yJ/GMTxhYiYIzfoc8Ad0lTClFcXGljUgMx7oGlkMz7Icxa+JEOXiJ Kd3IWO1bPMUNcsE6NVbz3I63e95kPt4BpSVfqqvjJWLiEN24xx7mgBI5c7/3HMt03/EE 4LGoeG9iyXfKD+JrGDWCZlX08I4trnXJ9em9ghIafFPdTANNeZXteGLwTZVT7SitN5uc tNMw== X-Gm-Message-State: AOAM5327KKyCJvyWX76mAf2lH9CSv6GhSEpRGHIrXgMJjnUdh3YmdTGd 9dj8y4UcsgBU8z7+qtUOhDy5iuJVLwCqU85us6Uu6Qwt X-Google-Smtp-Source: ABdhPJwTSNwbgUW+MeW2mKOEJE/1PDMMoia44n5WnYt6ZZHMDJokK1sShJGFbUCnmimdLsh8q3CfWSVKkjE48rBpusk= X-Received: by 2002:a19:428c:: with SMTP id p134mr1758950lfa.70.1597104085202; Mon, 10 Aug 2020 17:01:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Zamir Date: Tue, 11 Aug 2020 03:01:12 +0300 Message-ID: Subject: Re: errors building gcc-10.2 To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2020 00:01:28 -0000 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 =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=92=D7=B3, 11 = =D7=91=D7=90=D7=95=D7=92=D7=B3 2020, 02:53, =D7=9E=D7=90=D7=AA Jim Wilson = =E2=80=8F: > On Sun, Aug 9, 2020 at 6:01 PM Ron Zamir via Gcc-help > 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 >