From owner-freebsd-ports Sun Mar 8 22:38:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15379 for freebsd-ports-outgoing; Sun, 8 Mar 1998 22:38:52 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail1.doit.wisc.edu (mail1.doit.wisc.edu [144.92.9.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15368 for ; Sun, 8 Mar 1998 22:38:45 -0800 (PST) (envelope-from nkauer@students.wisc.edu) Received: from [128.104.222.29] by mail1.doit.wisc.edu id AAA50690 (8.8.6/50); Mon, 9 Mar 1998 00:38:43 -0600 Message-ID: <004401bd4b26$86939020$1dde6880@goldeneye.physics.wisc.edu> From: "Nikolas Kauer" To: Cc: Subject: g77 PORT failed on code while g77 succeeds Date: Mon, 9 Mar 1998 00:42:27 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried to build ugs.a (ftp://iris.riken.go.jp/pub/ugs/ugs.tar.gz)--after installing the lang/g77-0.5.19.1 from the FreeBSD ports collection--with options '-fno-automatic -finit-local-zero' as recommended by the author. It failed with the following errors: ((precompiler??)) uge002.F -> cpp: /var/tmp/ccsomething.i No such file or directory Stop after working around that by producing a *.f file with f2c ((libm.a not found??)) g77 -o tryxw ... -> postscr.o: undefined symbol `_cos_' referenced from text segment (and many more) These errors do certainly not look like bugs in the program but rather like bugs in the compiler. Thus I went through the trouble of building gcc in a different directory "by hand" (without using the FreeBSD ports system--which does a great job usually!) after merging in the g77 distribution using the tarballs from prep.ai.mit.edu. (Same versions as the operating system's gcc and ports g77.) Using this g77 to build ugs.a, I did not encounter any problems at all! I would like to encourage you to see if you can reproduce these errors. Feel free to contact me for further information. I have still both versions of g77 installed on my system, which is still release 2.2.2. ---------------------------------------- Nikolas Kauer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message