From owner-freebsd-sparc64@FreeBSD.ORG Tue Nov 16 09:31:38 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA6AD106564A; Tue, 16 Nov 2010 09:31:38 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A621D8FC12; Tue, 16 Nov 2010 09:31:38 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1PIHt3-0004FC-Gg; Tue, 16 Nov 2010 09:31:37 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1PIHt3-0000DT-Bt; Tue, 16 Nov 2010 09:31:37 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id oAG9VbUR069513; Tue, 16 Nov 2010 09:31:37 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id oAG9Vbmh069512; Tue, 16 Nov 2010 09:31:37 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 16 Nov 2010 09:31:37 +0000 From: Anton Shterenlikht To: Anton Shterenlikht , freebsd-sparc64@freebsd.org, gerald@freebsd.org Message-ID: <20101116093136.GD69044@mech-cluster241.men.bris.ac.uk> References: <20101115105450.GA27736@mech-cluster241.men.bris.ac.uk> <20101115184820.GL1517@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101115184820.GL1517@funkthat.com> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: port lang/gcc45 - not sure how to interpret GCC developers' advice X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 09:31:39 -0000 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