This is the mail archive of the gcc-bugs@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]

g77 of egcs-1.0 on irix 5.3


I've finished building egcs 1.0 for IRIX 5.3 on my challange L. My
simple test program in c seems to compile ok. My g77 test program
bombs miserably. Here is the g77 test program named hi.f and what
follows is the garbled output I get when I issue the command g77 -O -o hi hi.f
to compile it. (BTW, I've installed your egcs suite on my redhat 5.0
PC and g77 runs great! I've been able to build all of CERNLIB with it.)

stephen.adler@bnl.gov

> cat hi.f
      program hi
      print *,'hi'
      end
>


> g77 -O -o hi hi.f
/var/tmp/cca003UO.c:1: undefined or invalid # directive
/var/tmp/cca003UO.c:2:
   extern "C" {
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:3: undefined or invalid # directive
/var/tmp/cca003UO.c:4:
   static int count;
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:5:
   typedef void entry_pt();
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:6:
   extern void *x1 __asm__ ("_GLOBAL_$F$__fixdfdi");
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:7:
   extern void *x2 __asm__ ("_GLOBAL_$F$__umoddi3");
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:8:
   extern void *x3 __asm__ ("_GLOBAL_$F$__fixunsdfdi");
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:9:
           static void *frame_table[] = {
           1           2
Unrecognized statement name at (1) and invalid form for assignment or
statement-function definition at (2)
/var/tmp/cca003UO.c:9:
           static void *frame_table[] = {
                                   ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:10:
                   &x1,
                   ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
/var/tmp/cca003UO.c:11:
                   &x2,
                   ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
/var/tmp/cca003UO.c:12:
                   &x3,
                   ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
/var/tmp/cca003UO.c:14:
   };
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:15:
   extern void __register_frame_table (void *);
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:16:
   extern void __deregister_frame (void *);
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:17:
   static void reg_frame () {
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:18:
           __register_frame_table (frame_table);
           ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
/var/tmp/cca003UO.c:19:
           }
           ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:20:
   static void dereg_frame () {
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:21:
           __deregister_frame (frame_table);
           ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
/var/tmp/cca003UO.c:22:
           }
           ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:23:
   void _GLOBAL__FI_hi() {
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:24:
           static entry_pt *ctors[] = {
           1               2
Unrecognized statement name at (1) and invalid form for assignment or
statement-function definition at (2)
/var/tmp/cca003UO.c:24:
           static entry_pt *ctors[] = {
                                 ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:25:
           reg_frame,
           1        2
Unrecognized statement name at (1) and invalid form for assignment or
statement-function definition at (2)
/var/tmp/cca003UO.c:26:
           };
           ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:27:
           entry_pt **p;
                    ^
Invalid form for ENTRY statement at (^)
/var/tmp/cca003UO.c: In program `MAIN__':
/var/tmp/cca003UO.c:28:
           if (count++ != 0) return;
                     1              2
Missing operand for operator at (1) at end of expression at (2)
/var/tmp/cca003UO.c:28:
           if (count++ != 0) return;
                    1               2
Missing operand for operator at (1) at end of expression at (2)
/var/tmp/cca003UO.c:28:
           if (count++ != 0) return;
               ^
Expression at (^) has incorrect data type or rank for its context
/var/tmp/cca003UO.c:28:
           if (count++ != 0) return;
                                    ^
Invalid form for IF statement at (^)
/var/tmp/cca003UO.c:30:
           while (p > ctors) (*--p)();
           ^
Invalid declaration of or reference to symbol `while' at (^) [initially seen at
(^)]
/var/tmp/cca003UO.c:30:
           while (p > ctors) (*--p)();
           1                 2
Invalid use at (2) of substring operator on (1)
/var/tmp/cca003UO.c:30:
           while (p > ctors) (*--p)();
                              ^
Missing first operand for binary operator at (^)
/var/tmp/cca003UO.c:30:
           while (p > ctors) (*--p)();
           1                       2
Invalid use at (2) of substring operator on (1)
/var/tmp/cca003UO.c:30:
           while (p > ctors) (*--p)();
                                     ^
Invalid form for assignment statement at (^)
/var/tmp/cca003UO.c:31:
   }
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:32:
   void _GLOBAL__FD_hi() {
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:33:
           static entry_pt *dtors[] = {
           1               2
Unrecognized statement name at (1) and invalid form for assignment or
statement-function definition at (2)
/var/tmp/cca003UO.c:33:
           static entry_pt *dtors[] = {
                                 ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:34:
           dereg_frame,
           1          2
Unrecognized statement name at (1) and invalid form for assignment or
statement-function definition at (2)
/var/tmp/cca003UO.c:35:
           };
           ^
Unrecognized character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:36:
           entry_pt **p;
                    ^
Invalid form for ENTRY statement at (^)
/var/tmp/cca003UO.c:37:
           if (--count != 0) return;
               ^
Expression at (^) has incorrect data type or rank for its context
/var/tmp/cca003UO.c:37:
           if (--count != 0) return;
                                    ^
Invalid form for IF statement at (^)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
           1                     2
Invalid use at (2) of substring operator on (1)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
                                  ^
Missing first operand for binary operator at (^)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
                                     12
Missing operand for operator at (1) at end of expression at (2)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
                                    1 2
Missing operand for operator at (1) at end of expression at (2)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
           1                           2
Invalid use at (2) of substring operator on (1)
/var/tmp/cca003UO.c:39:
           while (p < dtors + 1) (*p++)();
                                         ^
Invalid form for assignment statement at (^)
/var/tmp/cca003UO.c:40:
   }
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:41: undefined or invalid # directive
/var/tmp/cca003UO.c:42:
   }
   ^
Invalid first character at (^) [info -f g77 M LEX]
/var/tmp/cca003UO.c:43: undefined or invalid # directive
/var/tmp/cca003UO.c:28:
           if (count++ != 0) return;
           ^
End of source file before end of block started at (^)
collect2: gcc returned 1 exit status
> g77 --version
egcs-2.90.21 971202 (egcs-1.00 release)
>


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