Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 18:44:30 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-alpha@freebsd.org
Subject:   anyone using f77 on an Alpha?
Message-ID:  <Pine.OSF.4.10.9905221840520.4232-100000@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
I'm problems getting a simple fortran program to run.  It
compiles and run on an Intel box.  It compiles and bails
on an Alpha box.  Anyone seeing the same thing as below?

s2[/tmp]$ cat foo.f
      PROGRAM FOO
      READ (*,'(I4)') N
      WRITE (*,'(A4,I4)') 'N = ', N
      END
s2[/tmp]$ f77 -g foo.f
s2[/tmp]$ ./a.out
Segmentation fault (core dumped)
s2[/tmp]$ gdb ./a.out a.out.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-unknown-freebsd"...
Core was generated by `a.out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libg2c.so.1...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x16005fbe0 in f_s (s=0x0, curloc=0)
    at /a/src/gnu/lib/libg2c/../../../contrib/egcs/libf2c/libI77/fmt.c:95
95		skip(s);
(gdb) where
#0  0x16005fbe0 in f_s (s=0x0, curloc=0)
    at /a/src/gnu/lib/libg2c/../../../contrib/egcs/libf2c/libI77/fmt.c:95
#1  0x1600605d8 in pars_f (s=0x0)
    at /a/src/gnu/lib/libg2c/../../../contrib/egcs/libf2c/libI77/fmt.c:370
#2  0x16005b6bc in s_rsfe (a=0x120010a08)
    at /a/src/gnu/lib/libg2c/../../../contrib/egcs/libf2c/libI77/rsfe.c:65
#3  0x120000904 in MAIN__ () at foo.f:2
#4  0x16005201c in main (argc=0, argv=0x0)
    at /a/src/gnu/lib/libg2c/../../../contrib/egcs/libf2c/libF77/main.c:61
(gdb) quit
s2[/tmp]$ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9905221840520.4232-100000>