Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 13:30:08 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        sgk@troutmask.apl.washington.edu
Cc:        ports@FreeBSD.org, current@FreeBSD.org
Subject:   Re: /usr/share/mk/sys.mk and FORTRAN on -CURRENT
Message-ID:  <200706042030.l54KU83p058640@gw.catspoiler.org>
In-Reply-To: <20070604151419.GB18864@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ...




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