🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Joe Weening Sat, 08 Oct 1988 19:49
GCC 1.29 fails on Sun-2
#1760
Author: Joe Weening
Date: Sat, 08 Oct 1988 19:49
48 lines
1946 bytes
Compiling GCC 1.29 on a Sun-2 running Sun OS 4.0, the stage 1 and
stage 2 compilations finish successfully, but the resulting compiler
fails on every program that I've tried.  (This happens on Sun OS 3.4
as well as Sun OS 4.0, but only on Sun-2s.)  When using it to compile
itself, here's what happens:

% make CC=stage2/gcc CFLAGS="-g -O -Bstage2/"
stage2/gcc -g -O -Bstage2/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
stage2/gcc: Program cc1 got fatal signal 4.
*** Error code 1
make: Fatal error: Command failed for target `gcc.o'
% adb stage2/cc1
core file = core -- program ``cc1''
SIGILL 4: illegal instruction
$c
_end(?)
_record_address_regs(0x8ec18,0x2,0x0) +	3ac
_record_address_regs(0xa7c34,0x2,0x0) +	184
_reg_class_record(0xa7c40,0x1,0x85c08) + 3e
_regclass() + 13c
_rest_of_compilation(0xa8bba) +	4f4
_finish_function() + 4a
_yyparse() + 648
_compile_file(0xfffe58)	+ 604
_main(0x9,0xfffde8,0xfffe10) + 64a
$r
d0    0x1df	_rpc_createerr+0x1df
d1    0x0	_pl
d2    0x0	_pl
d3    0x0	_pl
d4    0x2	_rpc_createerr+0x2
d5    0x1	_rpc_createerr+0x1
d6    0x18a	_rpc_createerr+0x18a
d7    0xfffffffe
a0    0xffde9c
a1    0x8ec15	_end+0x37d
a2    0x8ec18	_end+0x380
a3    0xa7c40
a4    0xa7cbc
a5    0x85c08	_insn_operand_constraint+0x294
a6    0xffdc5c
sp    0xffdc34
pc    0x8ec44	_end+0x3ac
ps    0x8	_rpc_createerr+0x8
      0x0	_pl

Note that the pc has jumped to an address outside the text area.  It
always appears to fail inside a recursive call to record_address_regs.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads