Bug 56098

Summary: Fortran doesn't work with g77
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Rosenkraenzer <bero>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: teg
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-14 18:12:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
"hello, world" - the FORTRAN way none

Description Bernhard Rosenkraenzer 2001-11-12 20:00:01 UTC
octave fails to detect gcc 3.1's f77 as a compatible compiler:

checking whether g77 is the GNU Fortran compiler... yes
checking g77/f2c compatibility... no
checking for f2c... no
configure: warning: in order to build octave, you must have a compatible  
configure: warning: Fortran compiler or f2c installed and in your path.

This might be caused by a g77 bug; please verify and reassign if 
necessary.

Comment 1 Trond Eivind Glomsrxd 2001-11-14 17:09:26 UTC
gcc-g77-3.1-0.7

gcc bug - it can't even compile the FORTRAN version of "hello, world":
[teg@oslo teg]$ g77 -o hello hello.f
/usr/bin/ld: cannot find -lfrtbegin
collect2: ld returned 1 exit status
[teg@oslo teg]


Comment 2 Trond Eivind Glomsrxd 2001-11-14 17:10:37 UTC
Created attachment 37522 [details]
"hello, world" - the FORTRAN way

Comment 3 Jakub Jelinek 2001-11-14 18:12:43 UTC
Fixed in my gcc31.spec copy, will be in gcc-g77-3.1-0.8.