From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,9581197da9935d56,start X-Google-Attributes: gid1094ba,public X-Google-Thread: fee84,9581197da9935d56,start X-Google-Attributes: gidfee84,public From: david pinson Subject: g77 problems on DEC Alpha/DUNIX Date: 1996/09/19 Message-ID: <3241C1B8.6BAF@t-rex.materials.unsw.edu.au>#1/1 X-Deja-AN: 181535699 content-type: text/plain; charset=us-ascii organization: School of Materials Science and Engineering UNSW mime-version: 1.0 newsgroups: comp.lang.fortran,comp.unix.osf.osf1 content-disposition: inline; filename="NEWSPOST.TXT" x-mailer: Mozilla 2.01 (Win16; I) What needs to be done to get g77 to compile for a DEC Alpha? I'm aware of the problems associated with the 64 bit chip/os, but as I understand other people have compiled it, I'd like to know how. system: Alphastation 233 Dec Unix 3.2G gcc 2.7.2.1 g77 0.5.18 patch 2.7.2 applied to g77. We get it test the compiler: bash# ./g77 --driver=./xgcc -B./ -v ./xgcc -B./ -v -fnull-version -o /tmp/gfaavqla -xf77-cpp-input /dev/null -xnone Reading specs from ./specs gcc version 2.7.2.f.1 ./cpp -lang-c -v -isystem ./include -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__unix__ -D__osf__ -D__alpha - D__alpha__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) - Asystem(xpg4) -Acpu(alpha) -Amachine(alpha) -D_LANGUAGE_FORTRAN -traditional -D__LANGUAGE_C__ - D__LANGUAGE_C -DLANGUAGE_C /dev/null /tmp/ccaavqla.i GNU CPP version 2.7.2.f.1 #include "..." search starts here: #include <...> search starts here: ./include /usr/local/include /usr/local/alpha-dec-osf3.2/include /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.f.1/include /usr/include End of search list. ./f771 /tmp/ccaavqla.i -fset-g77-defaults -quiet -dumpbase null.F -version -fversion -fnull-version -o /tmp/ccaavqla.s GNU F77 version 2.7.2.f.1 compiled by GNU C version 2.7.2.f.1. f/com.c:10566: failed assertion `ffetype_size (type) == sizeof (ffetargetInteger1)' xgcc: Internal compiler error: program f771 got fatal signal 6 Now /f/com.c /* Set up standard g77 types. Note that INTEGER and LOGICAL are set to size FLOAT_TYPE_SIZE because they have to be the same size as REAL, which also is FLOAT_TYPE_SIZE, according to the standard. Compiler options and other such stuff that change the ways these types are set should not affect this particular setup. */ [snip: Line 10566] assert (ffetype_size (type) == sizeof (ffetargetInteger1)); [snip] Is there a simple fix for this. or (to make life simpler) are binaries available for the alpha?