NetBSD Problem Report #8663
Received: (qmail 12496 invoked from network); 22 Oct 1999 00:39:32 -0000
Message-Id: <199910220039.RAA20454@nooksack.ldc.cs.wwu.edu>
Date: Thu, 21 Oct 1999 17:39:31 -0700 (PDT)
From: mcmahill@mtl.mit.edu
Reply-To: mcmahill@mtl.mit.edu
To: gnats-bugs@gnats.netbsd.org
Subject: g77 is buggy
X-Send-Pr-Version: www-1.0
>Number: 8663
>Category: toolchain
>Synopsis: g77 is buggy
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 21 17:42:01 +0000 1999
>Closed-Date: Sun Jun 09 18:07:47 +0000 2002
>Last-Modified: Sun Jun 09 18:07:47 +0000 2002
>Originator: Dan McMahill
>Release: 1.4.1
>Organization:
>Environment:
NetBSD cowboy-burt 1.4.1 NetBSD 1.4.1 (COWBOY-BURT) #1: Sat Oct 2 21:08:08 EDT 1999 dan@cowboy-burt:/amd/dinah-moe/export/src/sys/arch/sparc/compile/COWBOY-BURT sparc
NetBSD dinah-moe 1.4.1 NetBSD 1.4.1 (DINAH-MOE) #0: Sat Oct 2 02:34:31 EDT 1999 dan@dinah-moe:/export/src/sys/arch/mac68k/compile/DINAH-MOE mac68k
>Description:
the in tree fortran compiler (f77, g77, fort77) part of egcs seems
to have some problems on sparc and m68k platforms. The code compiles
but in the case of sparc, crashes, and in the case of m68k, doesn't
work right.
>How-To-Repeat:
download the math/scilab package. Edit 'Makefile' and comment out the
line "CONFIGURE_ARGS+= --with-f2c" and do 'make'. This will build
scilab using 'f77' for the fortran compiler. Then
cd work/scilab-2.4.1/tests
make tests
cd ../examples
make tests
on the sparc, some of the tests fail saying "error detected". those
cases correspond to scilab crashing. On the m68k, some of the tests
just fail to produce the correct output.
This doesn't happen on i386 (all tests pass). Also, compiling with
f2c makes all tests pass.
I'm not 100% sure that this is a bug in g77, although it seems likely.
It is also possible some of the fortran libraries are less than portable,
however since it works correctly on i386, I'm suspicious.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->toolchain-manager
Responsible-Changed-By: gnats
Responsible-Changed-When: Tue Feb 12 00:53:26 PST 2002
Responsible-Changed-Why:
There is now a "toolchain-manager" which is the proper default role
account for handling problem reports in the toolchain category.
State-Changed-From-To: open->feedback
State-Changed-By: tv
State-Changed-When: Tue Mar 5 06:43:22 PST 2002
State-Changed-Why:
Please try this with the new toolchain on respective platforms (as possible).
There have been hordes of g77 fixes between egcs 1.1 and gcc 2.95.x.
State-Changed-From-To: feedback->closed
State-Changed-By: dmcmahill
State-Changed-When: Sun Jun 9 11:06:51 PDT 2002
State-Changed-Why:
this was for the old toolchain. I'll refile if problems still
turn up on the new toolchain.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.