From owner-cvs-all@FreeBSD.ORG Mon Feb 2 08:03:59 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6C1C16A4CE; Mon, 2 Feb 2004 08:03:59 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14A1C43D66; Mon, 2 Feb 2004 08:03:58 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i12G1pTA089311; Mon, 2 Feb 2004 08:01:51 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i12G1pIN089310; Mon, 2 Feb 2004 08:01:51 -0800 (PST) (envelope-from sgk) Date: Mon, 2 Feb 2004 08:01:51 -0800 From: Steve Kargl To: Nakata Maho Message-ID: <20040202160151.GA89178@troutmask.apl.washington.edu> References: <200402012320.i11NKNng030190@repoman.freebsd.org> <20040202041956.GA85518@troutmask.apl.washington.edu> <20040202.222517.846933542.chat95@mbox.kyoto-inet.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040202.222517.846933542.chat95@mbox.kyoto-inet.or.jp> User-Agent: Mutt/1.4.1i cc: maho@freebsd.org cc: cvs-ports@freebsd.org cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/lang Makefile ports/lang/g95 Makefile distinfo pkg-descr pkg-plist ports/lang/g95/files patch-fibheap.c patch-mf-impl.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 16:04:00 -0000 On Mon, Feb 02, 2004 at 10:25:17PM +0900, Nakata Maho wrote: > Message-ID: <20040202041956.GA85518@troutmask.apl.washington.edu> ?$B$N5-;v$K$F > Steve Kargl ?$B$5$s$O=q$+$l$^$7$? : > > > > > Please back this out. There are two different compilers > > named g95 and gfortran, respectively. g95 is the name > > used by Andy Vaught for his compiler, which you cannot > > compile of FreeBSD. gfortran is the name of the Fortran > > 95 compiler that is in the tree-ssa branch of the GCC > > cvs source tree. I believe that the gfortran developers > > would prefer to avoid the confusion between g95 and > > gfortran. > > Really? I extracted > http://g95.sourceforge.net/g95-x86-linux.tgz This is a linux binary only distribution of g95. AFAIK, Andy creates a new binary nightly, but only releases updates to his GPL source code on a very sporadic basis. > from Andy Vaught's site and found a directory named > g95-install/lib/gcc-lib/i686-pc-linux-gnu/3.5-tree-ssa. > so I thought that both two compilers are integrated. > Anyway I will ask him about it. It is a political problem caused by Andy. Andy opened his source tree up for contributions from others. Paul Brook and Steven Bosscher wrote all the initial code to interface Andy's frontend to the tree-ssa gcc backend. Paul and Steven were working and improving g95 too quickly for Andy, so he suddenly removed their access to the g95 source code. Paul, Steven, and Toon Moene relucantly forked Andy's code by importing the last available version into the tree-ssa branch. Paul, Steven, and Toon also decided to rename the compiler to gfortran because they intend to support the Fortran 77, 90, 95, and the upoming Fortran 2003 standard and they wanted to avoid confusion with Andy's compiler. > > Also, I build and run 250000 LOC of Fortran 77 and > > Fortran 90 through gfortran several times a week without > > patching the source. Why are patch-fibheap.c and > > patch-mf-impl.h necessary? Have you filed a PR with > > GCC? > No. > > Just compiled and didn't pass compilations. this is > very ad hoc patch. I'll add --disable-libmudflap and maybe > I can remove patch-mf-impl.h. Most likely, Andy's tree-ssa branch is out of date and if you're building a tree-ssa gcc for FreeBSD to use with Andy's binaries, then you're mixing FreeBSD and Linux ELF formats. Try doing cvs -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc login cvs -qz9 -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc co \ -r tree-ssa-20020619-branch gcc ../gcc/configure --prefix=${LOCALBASE} --disable-libmudflap --enable-languages=c,f95 --with-gmp=${LOCALBASE} > > Finally, the gfortran run time library uses the C99 > > round[f](3) math function. FreeBSD does not have > > this function implemented. See the FreeBSD-standards > > mailing list for details. > > Then what should I do? > See the FreeBSD-standards mailing list for my quick and dirty implementations of round[f](3). -- Steve