From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 20:30:18 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 4218816A400; Mon, 4 Jun 2007 20:30:18 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (adsl-75-1-14-242.dsl.scrm01.sbcglobal.net [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 23AD413C448; Mon, 4 Jun 2007 20:30:17 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id l54KU83p058640; Mon, 4 Jun 2007 13:30:12 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200706042030.l54KU83p058640@gw.catspoiler.org> Date: Mon, 4 Jun 2007 13:30:08 -0700 (PDT) From: Don Lewis To: sgk@troutmask.apl.washington.edu In-Reply-To: <20070604151419.GB18864@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: ports@FreeBSD.org, 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 20:30:18 -0000 On 4 Jun, Steve Kargl wrote: > The correct spelling of the name of the language is Fortran. It's spelled FORTRAN if you're old enough ;-) > The reason is simple. If you upgrade from 6-stable to 7-current > and you do not clean out the f77 command (aka g77) then you > may have ABI issues when LAPACK is compiled with f77 and consumers > of liblapack.a use gfortran or even the base system cc. If you happened to upgrade -current in a certain window, "make delete-old-libs" would remove the necessary libraries, even though "make delete-old" didn't know that it should delete /usr/bin/f77, so the lapack build would bail out because f77 couldn't find libg2c. Setting FC=gfortran42 is is sufficient to get lapack and math/atlas-devel to build, assuming that lang/gcc42 is installed. BTW, math/atlas* has been using the combination of gcc34 and gfortran42 on -current for a while now, which means that it requires the installation of two different gcc ports ...