Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 09:31:37 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-sparc64@freebsd.org, gerald@freebsd.org
Subject:   Re: port lang/gcc45 - not sure how to interpret GCC developers' advice
Message-ID:  <20101116093136.GD69044@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20101115184820.GL1517@funkthat.com>
References:  <20101115105450.GA27736@mech-cluster241.men.bris.ac.uk> <20101115184820.GL1517@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 15, 2010 at 10:48:20AM -0800, John-Mark Gurney wrote:
> Anton Shterenlikht wrote this message on Mon, Nov 15, 2010 at 10:54 +0000:
> > On sparc64 -current r212302 I'm having trouble
> > building port lang/gcc45.
> > 
> > Before I go any further, let me just check if anybody
> > on this list has built gcc45 successfully?
> > 
> > Here's my GCC bug submission:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086
> > 
> > I just can't understand what the GCC folks tell me to do.
> > 
> > They referred me to this page:
> > http://gcc.gnu.org/install/specific.html#sparc-x-x
> > 
> > and apparently to this paragraph:
> > 
> > *quote*
> > Newer versions of the GNU Multiple Precision Library (GMP),
> > the MPFR library and the MPC library are known to be
> > miscompiled by earlier versions of GCC on these platforms.
> > We therefore recommend the use of the exact versions of
> > these libraries listed as minimal versions in the prerequisites. 
> > *end quote*
> > 
> > The prerequisites link lists:
> > 
> > GNU Multiple Precision Library (GMP) version 4.3.2 (or later)
> > MPFR Library version 2.4.2 (or later)
> > 
> > I've installed:
> > 
> > gmp-5.0.1
> > gmp-ecm-6.3
> > mpfr-3.0.0
> > 
> > So do they mean to say that I should downgrade to GMP 4.3.2 and
> > MPFR 2.4.2?
> 
> Yes, I believe that they do.  I think the important phrase is:
> exact versions of these libraries listed as minimal versions
> 
> which isn't very clear, but saying use the minimal version listed on
> the page...  They probably had someone try w/ 4.3.3 and wonder why it
> wasn't working so they added the exact verbage...

ok, I get it. However, the ports above were pulled up and
installed when I was building gcc45. So downgrading might
break ports interdependency. I'll try instead to build GMP
and MPFR with gcc44.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101116093136.GD69044>