This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: New gfortran linux binaries
FX> http://quatramaran.ens.fr/~coudert/gfortran/gfortran-linux.tar.gz
FX> (link provided on gfortran.org wiki) are now built for i386-linux
FX> architecture, and should be working on any i386 processor (including
FX> Pentium I).
Just got it.
FX> If you have time to test it, I would be glad to hear if it works as
FX> it should.
It still does not work for me.
FX> PS: if it fails, a copy-paste of the "gfortran -v -static
FX> myfile.f90" would really be helpful.
Driving: /tmp/irun/bin/gfortran -static -v foo.f90 -lgfortranbegin
-lgfortran -lm
Using built-in specs.
Target: i386-linux
Configured with: ../gcc/configure --prefix=/tmp/gfortran-20050322/irun
--enable-languages=c,f95 --host=i386-linux
Thread model: posix
gcc version 4.1.0 20050322 (experimental)
/tmp/irun/bin/../libexec/gcc/i386-linux/4.1.0/f951 foo.f90 -quiet
-dumpbase foo.f90 -auxbase foo -version -o /tmp/cczhDJLC.s
GNU F95 version 4.1.0 20050322 (experimental) (i386-linux)
compiled by GNU C version 3.3.5 (Debian 1:3.3.5-8).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
<built-in>:0: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
% gdb /tmp/irun/bin/../libexec/gcc/i386-linux/4.1.0/f951
GNU gdb 5.3
Copyright 2002 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 "i586-suse-linux"...(no debugging symbols
found)...
(gdb) run foo.f90 -quiet -dumpbase foo.f90 -auxbase foo -version -o
/tmp/cczhDJLC.s
Starting program: /tmp/irun/libexec/gcc/i386-linux/4.1.0/f951 foo.f90
-quiet -dumpbase foo.f90 -auxbase foo -version -o /tmp/cczhDJLC.s
GNU F95 version 4.1.0 20050322 (experimental) (i386-linux)
compiled by GNU C version 3.3.5 (Debian 1:3.3.5-8).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGILL, Illegal instruction.
0x084b4e6b in error ()
(gdb) where
#0 0x084b4e6b in error ()
#1 0x084ac2f9 in error ()
#2 0x08074bc5 in strncasecmp ()
#3 0x0808f877 in strncasecmp ()
#4 0x083aeb98 in error ()
#5 0x083aed9b in error ()
#6 0x083aee25 in error ()
#7 0x080b8eab in strncasecmp ()
#8 0x40045d3e in __libc_start_main () from /lib/libc.so.6
(gdb) disass 0x084b4e6b 0x084b4e80
Dump of assembler code from 0x84b4e6b to 0x84b4e80:
0x84b4e6b <error+3060459>: cmove 0xffffffd4(%ebp),%eax
0x84b4e6f <error+3060463>: shrl 0x14(%ebp)
0x84b4e72 <error+3060466>: mov %eax,0xffffffd4(%ebp)
0x84b4e75 <error+3060469>: je 0x84b4e82 <error+3060482>
0x84b4e77 <error+3060471>: imul %ebx,%ebx
0x84b4e7a <error+3060474>: cmp $0xffff,%ebx
End of assembler dump.
(gdb)
What else can I do?
Cheers,
-ha