[gnu.g++.lib.bug] error compiling libg++ 1.34 on sequent symmetry

lma@polya.Stanford.EDU (Larry M. Augustin) (05/07/89)

I'm trying to install g++ on a Sequent Symmetry (i386 machine) running
DYNIX v3.0.12 in the ucb universe.  I'm using g++ version 1.34.2, gcc
version 1.34 and libg++ version 1.34.  gcc and g++ compile fine, but i
get the following error while compiling libg++ (yes, i've fixed the
missing overload decls in builtin.h):

	(cd src; make GXX=g++ CC=gcc)
	g++ -g -O -fchar-charconst -I../g++-include -I.. -fsave-memoized -c  builtin.cc
Assembler:
"builtin.cc", line 1173: Invalid type in .stabs
"builtin.cc", line 1191: Invalid type in .stabs
*** Error code 1
Make: .  Stop.
*** Error code 1
Don't know how to make src/libg++.a
`all' not remade because of errors

I'm using the Sequent's assembler, not gas.  I'm appending a copy of
builtin.s, the assembler code generated by g++.  Thanks in advance for
any help.

Larry M. Augustin			ERL 414
lma@sierra.stanford.edu			Computer Systems Lab
lma@dayton.stanford.edu			Stanford University
(415) 723-9285				Stanford, CA 94305

	.file	"builtin.cc"
gcc_compiled.:
	.stabs "builtin.cc",100,0,0,Ltext
Ltext:
.stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0
.stabs "char:t2=r2;0;127;",128,0,0,0
.stabs "long int:t3=r1;-2147483648;2147483647;",128,0,0,0
.stabs "unsigned int:t4=r1;0;-1;",128,0,0,0
.stabs "long unsigned int:t5=r1;0;-1;",128,0,0,0
.stabs "short int:t6=r1;-32768;32767;",128,0,0,0
.stabs "long long int:t7=r1;0;-1;",128,0,0,0
.stabs "short unsigned int:t8=r1;0;65535;",128,0,0,0
.stabs "long long unsigned int:t9=r1;0;-1;",128,0,0,0
.stabs "signed char:t10=r1;-128;127;",128,0,0,0
.stabs "unsigned char:t11=r1;0;255;",128,0,0,0
.stabs "float:t12=r1;4;0;",128,0,0,0
.stabs "double:t13=r1;8;0;",128,0,0,0
.stabs "long double:t14=r1;8;0;",128,0,0,0
.stabs "void:t15=15",128,0,0,0
.stabs "unknown type:t16=16",128,0,0,0
.stabs "bool:T17=eTRUE:1,FALSE:0,;",128,0,0,0
.stabs "bool:t17",128,0,0,0
.stabs "one_arg_error_handler_t:t18=*19=f15",128,0,0,0
.stabs "two_arg_error_handler_t:t20=*21=f15",128,0,0,0
.stabs "_iobuf:T22=s20_cnt:/21,0,32;_ptr:/223=*2,32,32;_base:/223,64,32;_bufsiz:/21,96,32;_flag:/26,128,16;_file:/22,144,8;;~;",128,0,0,0
.stabs "exception:T24=s32type:/21,0,32;name:/223,32,32;arg1:/213,64,64;arg2:/213,128,64;retval:/213,192,64;;~;",128,0,0,0
.stabs "exception:t24",128,0,0,0
.stabs "_iobuf:t22",128,0,0,0
.stabs "va_list:t23",128,0,0,0
.text
	.align 2
.globl _gcd_lSI_lSI
_gcd_lSI_lSI:
	.stabd 68,0,35
	pushl %ebp
	movl %esp,%ebp
	subl $8,%esp
	pushl %ebx
LBB2:
	.stabd 68,0,36
LBB3:
	.stabs "../g++-include/builtin.h",132,0,0,Ltext
	.stabd 68,0,99
	movl 8(%ebp),%ecx
LBB4:
	.stabd 68,0,100
	testl %ecx,%ecx
	jge L147
	negl %ecx
L147:
	movl %ecx,%ebx
LBE4:
	.stabd 68,0,101
LBE3:
	.stabs "builtin.cc",132,0,0,Ltext
	.stabd 68,0,37
LBB5:
	.stabs "../g++-include/builtin.h",132,0,0,Ltext
	.stabd 68,0,99
	movl 12(%ebp),%ecx
LBB6:
	.stabd 68,0,100
	testl %ecx,%ecx
	jge L150
	negl %ecx
L150:
LBE6:
	.stabd 68,0,101
LBE5:
	.stabs "builtin.cc",132,0,0,Ltext
	.stabd 68,0,41
	cmpl %ecx,%ebx
	jge L152
LBB7:
	.stabd 68,0,43
	movl %ecx,%ebx
LBE7:
L152:
	.stabd 68,0,45
L153:
LBB8:
	.stabd 68,0,47
	testl %ecx,%ecx
	jne L156
	.stabd 68,0,48
	movl %ebx,%eax
	jmp L145
L156:
	.stabd 68,0,49
	cmpl $1,%ecx
	je L158
LBB9:
	.stabd 68,0,53
	movl %ecx,-8(%ebp)
	.stabd 68,0,54
	movl %ebx,%eax
	cltd
	idivl -8(%ebp)
	movl %edx,%ecx
	movl %eax,-4(%ebp)
	.stabd 68,0,55
	movl -8(%ebp),%ebx
LBE9:
LBE8:
	.stabd 68,0,57
	jmp L153
L158:
	.stabd 68,0,50
	movl %ecx,%eax
LBE2:
	.stabd 68,0,58
L145:
	leal -12(%ebp),%esp
	popl %ebx
	leave
	ret
.stabs "_obstack_chunk:T25=s12limit:/223,0,32;prev:/226=*25,32,32;contents:/227=ar1;0;3;2,64,32;;~;",128,0,0,0
.stabs "Obstack:T28=s24chunksize:/13,0,32;chunk:/126,32,32;objectbase:/123,64,32;nextfree:/123,96,32;chunklimit:/123,128,32;alignmentmask:/11,160,32;Obstack::29=#28,30=*28,30,1,1,15;:Obstack_PSObstack_SI_SI;2.31=#28,15,30,1,15;:_$_Obstack;2.;_free: