This is the mail archive of the gcc@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: f77 correctness on Sparc


Toon Moene wrote:

> Note that most of your failures are compilation errors - perhaps looking
> into the logs will give a clue.

OK, I finally reran the tests and looked at the log.  There are several types of
problems, and I'll give some examples of each.  This was configured on
solaris2.8 with --enable-checking=no, and tested with '-mcpu=ultrasparc -m64".

I don't understand this type of problem:

<problem>
spawn /export/home/sources/egcs/solaris-2.8/gcc/g77 -B/export/home/sources/egcs/solaris-2.8/gcc/ /export/home/sources/egcs/gcc/testsuite/g77.f-torture/compile/19990826-3.f -w -O2 -mcpu=ultrasparc -m64 -L/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c -c -o /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990826-3.o 
/export/home/sources/egcs/gcc/testsuite/g77.f-torture/compile/19990826-3.f: In subroutine `pcapop':
/export/home/sources/egcs/gcc/testsuite/g77.f-torture/compile/19990826-3.f:319: Insn does not satisfy its constraints:
(insn 6248 6245 1735 (set (reg:SF 64 %f32)
        (mem:SF (plus:DI (reg:DI 30 %fp)
                (const_int 2031 [0x7ef])) 0)) 84 {*movsf_insn_novis} (nil)
    (nil))
/export/home/sources/egcs/gcc/testsuite/g77.f-torture/compile/19990826-3.f:319: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8098
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
</problem>

There is one other type of internal error:

<problem>
spawn /export/home/sources/egcs/solaris-2.8/gcc/g77 -B/export/home/sources/egcs/solaris-2.8/gcc/ /export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/19990826-2.f -w -O1 -mcpu=ultrasparc -m64 -L/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c -lm -o /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990826-2.x 
/export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/19990826-2.f: In program `labug3':
/export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/19990826-2.f:28: Internal compiler error in emit_group_load, at expr.c:1988
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
compiler exited with status 1
</problem>

The vast majority of the extra problems are similar; did something not get built
or multilib'ed?:

<problem>
spawn /export/home/sources/egcs/solaris-2.8/gcc/g77 -B/export/home/sources/egcs/solaris-2.8/gcc/ /export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/19990826-0.f -w -Os -mcpu=ultrasparc -m64 -L/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c -lm -o /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990826-0.x 
Undefined			first referenced
 symbol  			    in file
s_stop                              /tmp/ccOagkee.o
G77_abort_0                         /tmp/ccOagkee.o
main                                /export/home/sources/egcs/solaris-2.8/gcc/sparcv9/crt1.o
ld: fatal: Symbol referencing errors. No output written to /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990826-0.x
collect2: ld returned 1 exit status
compiler exited with status 1
</problem>

And another:

<problem>
spawn /export/home/sources/egcs/solaris-2.8/gcc/g77 -B/export/home/sources/egcs/solaris-2.8/gcc/ /export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/20000503-1.f -w -O0 -mcpu=ultrasparc -m64 -L/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c -lm -o /export/home/sources/egcs/solaris-2.8/gcc/testsuite/20000503-1.x 
Undefined			first referenced
 symbol  			    in file
s_wsle                              /tmp/ccA8Mw00.o
s_stop                              /tmp/ccA8Mw00.o
do_lio                              /tmp/ccA8Mw00.o
G77_abort_0                         /tmp/ccA8Mw00.o
main                                /export/home/sources/egcs/solaris-2.8/gcc/sparcv9/crt1.o
e_wsle                              /tmp/ccA8Mw00.o
ld: fatal: Symbol referencing errors. No output written to /export/home/sources/egcs/solaris-2.8/gcc/testsuite/20000503-1.x
collect2: ld returned 1 exit status
compiler exited with status 1
</problem>

and, quite often:

<problem>
spawn /export/home/sources/egcs/solaris-2.8/gcc/g77 -B/export/home/sources/egcs/solaris-2.8/gcc/ /export/home/sources/egcs/gcc/testsuite/g77.f-torture/execute/19990325-1.f -w -O1 -mcpu=ultrasparc -m64 -L/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c -lm -o /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990325-1.x 
Undefined			first referenced
 symbol  			    in file
z_abs                               /tmp/cct623kM.o
z_sqrt                              /tmp/cct623kM.o
s_stop                              /tmp/cct623kM.o
z_exp                               /tmp/cct623kM.o
z_sin                               /tmp/cct623kM.o
z_cos                               /tmp/cct623kM.o
pow_zz                              /tmp/cct623kM.o
G77_abort_0                         /tmp/cct623kM.o
main                                /export/home/sources/egcs/solaris-2.8/gcc/sparcv9/crt1.o
z_log                               /tmp/cct623kM.o
ld: fatal: Symbol referencing errors. No output written to /export/home/sources/egcs/solaris-2.8/gcc/testsuite/19990325-1.x
collect2: ld returned 1 exit status
compiler exited with status 1
</problem>

The complete log is available at

http://www.math.purdue.edu/~lucier/g77.log.gz

Brad Lucier

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