From owner-freebsd-current@FreeBSD.ORG Fri Nov 13 08:01:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46699106566C for ; Fri, 13 Nov 2009 08:01:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id E80858FC14 for ; Fri, 13 Nov 2009 08:01:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 966419CB0A5; Fri, 13 Nov 2009 09:00:36 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aBwpBAX2q+Yb; Fri, 13 Nov 2009 09:00:33 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D47CB9CC0CC; Fri, 13 Nov 2009 09:00:33 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id nAD80XEK090702; Fri, 13 Nov 2009 09:00:33 +0100 (CET) (envelope-from rdivacky) Date: Fri, 13 Nov 2009 09:00:33 +0100 From: Roman Divacky To: Steve Kargl Message-ID: <20091113080033.GB90272@freebsd.org> References: <20091112141519.GA66229@mech-cluster241.men.bris.ac.uk> <20091112153407.GA62396@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091112153407.GA62396@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Cc: maho@freebsd.org, freebsd-current@freebsd.org, Anton Shterenlikht , freebsd-ia64@freebsd.org Subject: Re: compiler discussion X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 08:01:50 -0000 On Thu, Nov 12, 2009 at 07:34:07AM -0800, Steve Kargl wrote: > On Thu, Nov 12, 2009 at 02:15:19PM +0000, Anton Shterenlikht wrote: > > Following from the discussion on the system compiler for ia64, > > I tried to list few major ports which I'd love to have on ia64, > > but can't, because of GCC problems: > > > > - math/blas, lapack, lapack95, arpack, scalapack, atlas, etc. > > - science/hdf5-18 (fortran APIs can't be built) > > - french/aster (industial quality FEA code) > > - cad/calculix (another good FEA code) > > > > All these depend on lang/gcc44, which doesn't build. > > Doesn't build is not a very good description if you're > looking for help. Post the build log somewhere. > Have you submitted bug reports to gcc.gnu.org? Bugs > that are unreported are unlikely to be fixed. > > > The only fortran compiler I know to build and work > > successfully on ia64 is (correct me if I'm wrong) g95. > > > > I wonder if it's possible/desirable/easy to use lang/g95 for > > the above and other fortran-dependent ports? > > Given Polyhedron Benchmarks, it may be preferable to determine > why you can't build gcc44 and fix that problem.* > > > In principal, lang/g95 looks very good, and it's got > > some features not available in gfortran, e.g. limited > > support for 2003 standard. > > > > Any comments? > > AFAIK, g95 has TR 15580 implemented and gfortran doesn't. > Other than that feature, gfortran has a fairly long list > of Fortran 2003 features implemented, which you can find > partially enumerated at the gfortran wiki. > > > Also, any comments on the usability (particularly for fortran) > > of llvm and lang/llvm-gcc4 on ia64? > > Last time I checked, Fortran in llvm was based off a very old > gfortran. The llvm website mentions gcc 4.2.?. While the 4.2.? > gfortran isn't too bad, you most certainly would rather use gcc44 > if you can. Literally, hundreds of bugs and several new feature > have been add to gfortran in going from 4.2.? to gcc 4.4.2. you can use dragonegg gcc plugin which uses gcc frontend (for any language) and uses llvm backed to generate the code: http://dragonegg.llvm.org/