From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 15:01:35 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4A1316A41F; Mon, 4 Jun 2007 15:01:35 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id B676913C465; Mon, 4 Jun 2007 15:01:35 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l54F1LWF018935; Mon, 4 Jun 2007 08:01:21 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l54F1LNP018934; Mon, 4 Jun 2007 08:01:21 -0700 (PDT) (envelope-from sgk) Date: Mon, 4 Jun 2007 08:01:21 -0700 From: Steve Kargl To: Garrett Cooper Message-ID: <20070604150121.GA18864@troutmask.apl.washington.edu> References: <200706032347.l53NlXU6055249@gw.catspoiler.org> <20070604010942.GA13434@troutmask.apl.washington.edu> <4663D1C1.2020705@u.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4663D1C1.2020705@u.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: ports@freebsd.org, Don Lewis , current@freebsd.org Subject: Re: /usr/share/mk/sys.mk and FORTRAN on -CURRENT 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: Mon, 04 Jun 2007 15:01:35 -0000 On Mon, Jun 04, 2007 at 01:48:01AM -0700, Garrett Cooper wrote: > Steve Kargl wrote: > >On Sun, Jun 03, 2007 at 04:47:33PM -0700, Don Lewis wrote: > > > >>I was taking a look at why math/lapack fails to build on -CURRENT and > >>discovered that the port uses ${FC} to find the FORTRAN compiler. I > >>then discovered that /usr/share/mk/sys.mk defines ${FC} as f77 (or > >>fort77). I don't this is appropriate since f77 has been removed from > >>-CURRENT. > >> > >>I don't know what the proper fix is, but I though I should point out the > >>problem ... > >> > >> > > > >There are two bugs here. 1) FC should be removed. 2) The > >various ports that use Fortran should use gfortran42 > >installed with lang/gcc42. > > > > > Not only that. f77 in gcc-4.2 has some bugs that are waiting to be > worked out in 4.2.1, so that may be a part of the issue as well. There isn't an 'f77' in gcc-4.2. There is gfortran, which is a Fortran 95 comiler with several Fortran 2003 extension. There are only a few bugs (ie 2 or 3) in corner cases that affect the ability to compile code which conforms to the Fortran 77 standard. -- Steve