When cross-compiling for vax--netbsdelf, fortran doesn't build. I have a NetBSD/vax 4.99.72 install symlinked, and am using binutils 2.19.50.20080923. gcc sources are subversion rev 140638. It gets to here and stops:
libtool: compile: /usr/src/gcc/vax/./gcc/xgcc -B/usr/src/gcc/vax/./gcc/ -B/usr/local/vax--netbsdelf/bin/ -B/usr/local/vax--netbsdelf/lib/ -isystem /usr/local/vax--netbsdelf/include -isystem /usr/local/vax--netbsdelf/sys-include -DHAVE_CONFIG_H -I. -I../../../libgfortran -I. -iquote../../../libgfortran/io -I../../../libgfortran/../gcc -I../../../libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2 -MT c99_functions.lo -MD -MP -MF .deps/c99_functions.Tpo -c ../../../libgfortran/intrinsics/c99_functions.c -o c99_functions.o ../../../libgfortran/intrinsics/c99_functions.c:539: warning: no previous prototype for 'roundl' ../../../libgfortran/intrinsics/c99_functions.c:640: warning: no previous prototype for 'lroundl' ../../../libgfortran/intrinsics/c99_functions.c:667: warning: no previous prototype for 'llroundl' ../../../libgfortran/intrinsics/c99_functions.c:679: warning: no previous prototype for 'log10l' ../../../libgfortran/intrinsics/c99_functions.c:717: warning: no previous prototype for 'floorl' ../../../libgfortran/intrinsics/c99_functions.c:743: warning: no previous prototype for 'fmodl' ../../../libgfortran/intrinsics/c99_functions.c: In function 'tgamma': ../../../libgfortran/intrinsics/c99_functions.c:1455: warning: floating constant truncated to zero ../../../libgfortran/intrinsics/c99_functions.c:1457: warning: target format does not support infinity /var/tmp//ccY9ySD8.s: Assembler messages: /var/tmp//ccY9ySD8.s:712: Fatal error: Junk at end of expression "QNaN" Closer examination reveals that the line the assembler is choking on is: movd $0d+QNaN,%r1 Fortran did build in the past on 4.4.0; I have a version dated 2008.04.10. -- Summary: fortran doesn't build on 4.4.0 for vax Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hbent at cs dot oberlin dot edu GCC build triplet: i386-unknown-netbsdelf4.99.72 GCC host triplet: i386-unknown-netbsdelf4.99.72 GCC target triplet: vax--netbsdelf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37643