gcc and g++ on a 4D

Reid Ellis rae%alias at csri.utoronto.ca
Fri Oct 27 05:47:03 AEST 1989


I managed to get gcc to link and everything, but then when I tried to
compile, it dumped core.  dbx had this to say:

 0 .kill.kill(0x10022118, 0x1c, 0x0, 0x10020908, 0x10057948, 0x4a4f58) ["kill.s":17, 0x4b9db4]
 1 .abort.abort(0x0, 0x1005aec0, 0x10057948, 0x44f468, 0x1c, 0x4a5274) ["abort.c":36, 0x4b5648]
 2 output_operand_lossage(str = 0x1000c374 = "operand number missing after %-letter") ["final.c":1242, 0x4a4f54]
 3 output_asm_insn(template = 0x1000fd00 = "addi%u\t%0,%1,%x2\t#subsi3\t%1,%d3 -> %0", operands = 0x7fffac68) ["final.c":1320, 0x4a5270]
 4 output_7(operands = 0x1001a018, insn = 0x10022128) ["insn-output.c":124, 0x4b0dac]
 5 .final.final(first = 0x10021c70, file = 0x10012de0, write_symbols = NO_DEBUG, optimize = 0, prescan = 0) ["final.c":897, 0x4a4490]
 6 rest_of_compilation(decl = 0x10055890) ["toplev.c":1514, 0x419e20]
 7 finish_function() ["c-decl.c":3647, 0x40ddd0]
 8 yyparse() ["bison.simple":414, 0x400960]
 9 compile_file(name = 0x7fffc7ff = "/tmp/cca08205.cpp") ["toplev.c":1014, 0x418bcc]
10 main(argc = 7, argv = 0x7fffc71c, envp = 0x7fffc73c) ["toplev.c":1795, 0x41a8c8]

Now the "operand number missing after %-letter" to me seems to be saying
that the mips.md file is incorrect.  When I try compiling other files, I get
similar errors. [i.e. calls to output_operand_lossage with missing operand
numbers after %'s]

Any pointers/help would be greatly appreciated.  Any additional help on how
to get g++ running would be doubly so.

					Thanks in advance,
						Reid
---
Reid Ellis, 264 Broadway Avenue, Toronto ON, M4P 1V9, Canada
rae%alias at csri.utoronto.ca, rae at geac.uucp, rae at ziebmef.uucp,
rae at gpu.utcs.utoronto.ca, rae at tnir.uucp      +1 416 487 1383



More information about the Comp.sys.sgi mailing list