On Wed, May 03, 2017 at 10:25:53AM +0100, Jonathan Wakely wrote:
> On 3 May 2017 at 06:23, carl hansen wrote:
> > On Tue, May 2, 2017 at 5:02 PM, Paul Smith <p...@mad-scientist.net> wrote:
> >> On Tue, 2017-05-02 at 18:17 -0500, Joel Sherrill wrote:
> >>> With gcc 6.3.0, we have this in our build recipe:
> >>>
> >>> %define mpfr_version   2.4.2
> >>> %define mpc_version    0.8.1
> >>> %define gmp_version    4.3.2
> >>
> >> Best thing to do is look at the contrib/download_prerequisites script
> >> that comes with the GCC source code.
> >>
> >> The 7.1 version says:
> >>
> >>     gmp='gmp-6.1.0.tar.bz2'
> >>     mpfr='mpfr-3.1.4.tar.bz2'
> >>     mpc='mpc-1.0.3.tar.gz'
> >>     isl='isl-0.16.1.tar.bz2'
> >>
> >> In general, it's better to just run that script, if possible.
> > "it's better to just run that script"
> > One would think.
> > But 7.1 is outdated.
> >
> > latest gmp is 6.1.2
> > latest mpfr os 3.1.5
> > latest isl is 0.18
> 
> The question is not about what the latest versions are, but what
> versions are required, and known to work.

And not just that, there are also dependencies in between
gmp, mpfr and mpc versions.  So you can't take too new mpc with too
old mpfr or vice versa etc., the problem you ran into was one of those.

        Jakub

Reply via email to