This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libf2c update


[ m68k-next-nextstep3, egcs CVS'd somewhere on the 27'th.  I have to
  be careful in this bug report, because I applied Richard
  Henderson's giv-combine patch.  Nevertheless: ]

Dave wrote:

>  Approved by burley:
>
>  1998-06-19  Dave Love  <d.love@dl.ac.uk>
>
>  	* libI77/backspace.c, libI77/dfe.c, libI77/due.c,
>  	libI77/iio.c, libI77/lread.c, libI77/ sfe.c,
>  	libI77/sue.c, libI77/wsfe.c: Update to Netlib
>  	version of 1998-06-18.

Gentlemen, could it be that the following crash is related to this  
update:

      character*80 string
      read(*,'(a)') string
      write(*,'(a)') string
      end

/usr/snp/bin/g77 mycrash0.f
% gdb ./a.out
GDB is free software and you are welcome to 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.
GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc...
Reading symbols from /Users/toon/Unix/src/a.out...done.
Reading symbols from /usr/shlib/libsys_s.B.shlib...done.

(gdb) run
Starting program: /Users/toon/Unix/src/a.out
Program generated(1): Memory access exception on address 0x0  
(protection failure).
Reading in symbols for ../../../../egcs/libf2c/libI77/rsfe.c...done.
0x310e in s_rsfe (a=0x800c) at ../../../../egcs/libf2c/libI77/rsfe.c:63
../../../../egcs/libf2c/libI77/rsfe.c:63: No such file or directory.
(gdb) bt
Reading in symbols for ../../../../egcs/libf2c/libF77/main.c...done.
#0  0x310e in s_rsfe (a=0x800c) at  
../../../../egcs/libf2c/libI77/rsfe.c:63
#1  0x2edc in MAIN__ ()
#2  0x2f70 in main (argc=?, argv=0x3fffce0) at  
../../../../egcs/libf2c/libF77/main.c:61
(gdb) l
../../../../egcs/libf2c/libI77/rsfe.c:58: No such file or directory.

The "No such file or directory" error is understandable, because a  
relative path is unlikely to work in debugging info.

Hope someone could shed some light ...

Cheers,
Toon.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]