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]

sparc-sun-solaris2.8 bootstrap failure (v9 instructions)


I'm getting the following failure bootstrapping current mainline on
sparc-sun-solaris2.8.

/files/pfeifer/OBJ-0820-09:42/gcc/xgcc -B/files/pfeifer/OBJ-0820-09:42/gcc/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include -c -I. -I/sw/test/gcc/cvs/libobjc -g -O2 -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -I/sw/test/gcc/cvs/libobjc/objc -I/sw/test/gcc/cvs/libobjc/../gcc -I/sw/test/gcc/cvs/libobjc/../gcc/config -I../../gcc -I/sw/test/gcc/cvs/libobjc/../include /sw/test/gcc/cvs/libobjc/init.c -o init.o
./libtool --mode=compile /files/pfeifer/OBJ-0820-09:42/gcc/xgcc -B/files/pfeifer/OBJ-0820-09:42/gcc/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include -fgnu-runtime -c -o linking.lo -I. -I/sw/test/gcc/cvs/libobjc   -g -O2 -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS \
	-I/sw/test/gcc/cvs/libobjc/objc  -I/sw/test/gcc/cvs/libobjc/../gcc -I/sw/test/gcc/cvs/libobjc/../gcc/config -I../../gcc -I/sw/test/gcc/cvs/libobjc/../include /sw/test/gcc/cvs/libobjc/linking.m
/files/pfeifer/OBJ-0820-09:42/gcc/xgcc -B/files/pfeifer/OBJ-0820-09:42/gcc/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/lib/ -isystem /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include -fgnu-runtime -c -I. -I/sw/test/gcc/cvs/libobjc -g -O2 -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -I/sw/test/gcc/cvs/libobjc/objc -I/sw/test/gcc/cvs/libobjc/../gcc -I/sw/test/gcc/cvs/libobjc/../gcc/config -I../../gcc -I/sw/test/gcc/cvs/libobjc/../include /sw/test/gcc/cvs/libobjc/linking.m -o linking.o
/sw/test/gcc/cvs/libobjc/linking.m: In function `__objc_linking':
/sw/test/gcc/cvs/libobjc/linking.m:37: warning: cannot find class (factory) method.
/sw/test/gcc/cvs/libobjc/linking.m:37: warning: return type for `name' defaults to id
/sw/test/gcc/cvs/libobjc/linking.m:38: warning: cannot find class (factory) method.
/sw/test/gcc/cvs/libobjc/linking.m:38: warning: return type for `name' defaults to id
/usr/ccs/bin/as: "/var/tmp//cc9k3GDF.s", line 185: error: cannot use v9 instructions in a non-v9 target binary
gmake[2]: *** [linking.lo] Error 1
gmake[2]: Leaving directory `/files/pfeifer/OBJ-0820-09:42/sparc-sun-solaris2.8/libobjc'
gmake[1]: *** [all-target-libobjc] Error 2
gmake[1]: Leaving directory `/files/pfeifer/OBJ-0820-09:42'

The corresponding lines in the .s file are:

 184    .uaword _OBJC_METH_VAR_TYPE_0
 185    .uaxword        0
 186    .stabs "_objc_module:T(0,34)=s16version:(0,3),0,32;size:(0,3),32,32;name:(2,16),64,32;symtab:(0,35)=*(0,30),96,32;;",128,0,0,0

Zack, any chance this has been triggered by your recent cleanups?

Gerald

PS: "Sun WorkShop 6 99/08/18" /usr/ccs/bin/as; linking.s is attached to
this message.
	.file	"linking.mi"
	.stabs	"/files/pfeifer/OBJ-0820-09:42/sparc-sun-solaris2.8/libobjc/",100,0,0,.LLtext0
	.stabs	"linking.mi",100,0,0,.LLtext0
	.section	".text"
.LLtext0:
	.stabs	"gcc2_compiled.",60,0,0,0
	.stabs	"int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0
	.stabs	"char:t(0,2)=r(0,2);0;127;",128,0,0,0
	.stabs	"long int:t(0,3)=r(0,3);-2147483648;2147483647;",128,0,0,0
	.stabs	"unsigned int:t(0,4)=r(0,4);000000000000000000000000;000000000000037777777777;",128,0,0,0
	.stabs	"long unsigned int:t(0,5)=r(0,5);000000000000000000000000;000000000000037777777777;",128,0,0,0
	.stabs	"long long int:t(0,6)=@s64;r(0,6);001000000000000000000000;000777777777777777777777;",128,0,0,0
	.stabs	"long long unsigned int:t(0,7)=@s64;r(0,7);000000000000000000000000;001777777777777777777777;",128,0,0,0
	.stabs	"short int:t(0,8)=@s16;r(0,8);-32768;32767;",128,0,0,0
	.stabs	"short unsigned int:t(0,9)=@s16;r(0,9);0;65535;",128,0,0,0
	.stabs	"signed char:t(0,10)=@s8;r(0,10);-128;127;",128,0,0,0
	.stabs	"unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0
	.stabs	"__int128_t:t(0,12)=@s128;r(0,12);000000000000000000000000;0377777777777777777777777777777777;",128,0,0,0
	.stabs	"__uint128_t:t(0,13)=@s128;r(0,13);000000000000000000000000;0377777777777777777777777777777777;",128,0,0,0
	.stabs	"float:t(0,14)=r(0,1);4;0;",128,0,0,0
	.stabs	"double:t(0,15)=r(0,1);8;0;",128,0,0,0
	.stabs	"long double:t(0,16)=r(0,1);16;0;",128,0,0,0
	.stabs	"complex int:t(0,17)=s8real:(0,1),0,32;imag:(0,1),32,32;;",128,0,0,0
	.stabs	"complex float:t(0,18)=r(0,18);8;0;",128,0,0,0
	.stabs	"complex double:t(0,19)=r(0,19);16;0;",128,0,0,0
	.stabs	"complex long double:t(0,20)=r(0,20);32;0;",128,0,0,0
	.stabs	"__builtin_va_list:t(0,21)=*(0,22)=(0,22)",128,0,0,0
	.stabs	"_Bool:t(0,23)=@s8;-16;",128,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/Object.h",130,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/objc.h",130,0,0,0
	.stabs	"/files/pfeifer/OBJ-0820-09:42/gcc/include/stddef.h",130,0,0,0
	.stabs	"ptrdiff_t:t(3,1)=(0,1)",128,0,147,0
	.stabs	"size_t:t(3,2)=(0,4)",128,0,199,0
	.stabs	"wchar_t:t(3,3)=(0,3)",128,0,288,0
	.stabn	162,0,0,0
	.stabs	"BOOL:t(2,1)=(0,11)",128,0,42,0
	.stabs	"objc_selector:T(2,2)=s8sel_id:(2,3)=*(0,22),0,32;sel_types:(2,4)=*(0,2),32,32;;",128,0,0,0
	.stabs	"SEL:t(2,5)=(2,6)=*(2,2)",128,0,55,0
	.stabs	"objc_object:T(2,7)=s4class_pointer:(2,8)=*(2,9)=xsobjc_class:,0,32;;",128,0,0,0
	.stabs	"id:t(2,10)=(2,11)=*(2,7)",128,0,72,0
	.stabs	"IMP:t(2,12)=(2,13)=*(2,14)=f(2,10)",128,0,78,0
	.stabs	"STR:t(2,15)=(2,16)=*(0,2)",128,0,85,0
	.stabs	"MetaClass:t(2,17)=(2,8)",128,0,97,0
	.stabs	"Class:t(2,18)=(2,8)",128,0,98,0
	.stabs	"objc_class:T(2,9)=s52class_pointer:(2,17),0,32;super_class:(2,8),32,32;name:(2,4),64,32;version:(0,3),96,32;info:(0,5),128,32;instance_size:(0,3),160,32;ivars:(2,19)=*(2,20)=xsobjc_ivar_list:,192,32;methods:(2,21)=*(2,22)=xsobjc_method_list:,224,32;dtable:(2,23)=*(2,24)=xssarray:,256,32;subclass_list:(2,8),288,32;sibling_class:(2,8),320,32;protocols:(2,25)=*(2,26)=xsobjc_protocol_list:,352,32;gc_object_type:(2,3),384,32;;",128,0,0,0
	.stabs	"retval_t:t(2,27)=(2,3)",128,0,144,0
	.stabs	"apply_t:t(2,28)=(2,29)=*(2,30)=f(0,22)",128,0,145,0
	.stabs	"arglist_t:t(2,31)=(2,32)=*(2,33)=u4arg_ptr:(2,16),0,32;arg_regs:(2,34)=ar(2,35)=r(2,35);000000000000000000000000;000000000000037777777777;;0;3;(0,2),0,32;;",128,0,149,0
	.stabn	162,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/typedstream.h",130,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/objc.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/hash.h",130,0,0,0
	.stabs	"/files/pfeifer/OBJ-0820-09:42/gcc/include/stddef.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"/usr/include/string.h",130,0,0,0
	.stabs	"/usr/include/iso/string_iso.h",130,0,0,0
	.stabs	"/usr/include/sys/feature_tests.h",130,0,0,0
	.stabs	"/usr/include/sys/isa_defs.h",130,0,0,0
	.stabn	162,0,0,0
	.stabn	162,0,0,0
	.stabn	162,0,0,0
	.stabn	162,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/objc.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"cache_node:T(6,1)=s12next:(6,2)=*(6,1),0,32;key:(6,3)=*(0,22),32,32;value:(2,3),64,32;;",128,0,0,0
	.stabs	"node_ptr:t(6,4)=(6,2)",128,0,51,0
	.stabs	"hash_func_type:t(6,5)=(6,6)=*(6,7)=f(0,4)",128,0,63,0
	.stabs	"compare_func_type:t(6,8)=(6,9)=*(6,10)=f(0,1)",128,0,72,0
	.stabs	"cache:T(6,11)=s28node_table:(6,12)=*(6,4),0,32;size:(0,4),32,32;used:(0,4),64,32;mask:(0,4),96,32;last_bucket:(0,4),128,32;hash_func:(6,5),160,32;compare_func:(6,8),192,32;;",128,0,0,0
	.stabs	"cache_ptr:t(6,13)=(6,14)=*(6,11)",128,0,102,0
	.stabn	162,0,0,0
	.stabs	"/files/pfeifer/OBJ-0820-09:42/gcc/include/stdio.h",130,0,0,0
	.stabs	"/files/pfeifer/OBJ-0820-09:42/gcc/include/stdarg.h",130,0,0,0
	.stabs	"__gnuc_va_list:t(14,1)=(0,21)",128,0,43,0
	.stabn	162,0,0,0
	.stabs	"/usr/include/iso/stdio_iso.h",130,0,0,0
	.stabs	"/usr/include/sys/feature_tests.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"/usr/include/sys/va_list.h",130,0,0,0
	.stabs	"__va_list:t(17,1)=(2,3)",128,0,26,0
	.stabn	162,0,0,0
	.stabs	"/usr/include/stdio_tag.h",130,0,0,0
	.stabs	"__FILE:t(18,1)=(18,2)=xs__FILE:",128,0,21,0
	.stabn	162,0,0,0
	.stabs	"/usr/include/stdio_impl.h",130,0,0,0
	.stabs	"/usr/include/sys/isa_defs.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"ssize_t:t(19,1)=(0,1)",128,0,22,0
	.stabs	"__FILE:T(18,2)=s16_cnt:(19,1),0,32;_ptr:(19,2)=*(0,11),32,32;_base:(19,2),64,32;_flag:(0,11),96,8;_file:(0,11),104,8;__orientation:(0,4),112,2;__ionolock:(0,4),114,1;__filler:(0,4),115,5;;",128,0,0,0
	.stabn	162,0,0,0
	.stabs	"__longlong_t:t(15,1)=(0,6)",128,0,59,0
	.stabs	"FILE:t(15,2)=(18,1)",128,0,75,0
	.stabs	"fpos_t:t(15,3)=(0,3)",128,0,88,0
	.stabn	162,0,0,0
	.stabs	"off_t:t(13,1)=(0,3)",128,0,105,0
	.stabs	"off64_t:t(13,2)=(15,1)",128,0,113,0
	.stabs	"fpos64_t:t(13,3)=(15,1)",128,0,123,0
	.stabn	162,0,0,0
	.stabs	"objc_typed_read_func:t(4,1)=(4,2)=*(4,3)=f(0,1)",128,0,34,0
	.stabs	"objc_typed_write_func:t(4,4)=(4,5)=*(4,6)=f(0,1)",128,0,35,0
	.stabs	"objc_typed_flush_func:t(4,7)=(4,8)=*(4,9)=f(0,1)",128,0,36,0
	.stabs	"objc_typed_eof_func:t(4,10)=(4,8)",128,0,37,0
	.stabs	"objc_typed_stream:T(4,11)=s52physical:(2,3),0,32;object_table:(6,13),32,32;stream_table:(6,13),64,32;class_table:(6,13),96,32;object_refs:(6,13),128,32;mode:(0,1),160,32;type:(0,1),192,32;version:(0,1),224,32;writing_root_p:(0,1),256,32;read:(4,1),288,32;write:(4,4),320,32;eof:(4,10),352,32;flush:(4,7),384,32;;",128,0,0,0
	.stabs	"TypedStream:t(4,12)=(4,11)",128,0,62,0
	.stabn	162,0,0,0
	.stabs	"Object:T(1,1)=s4isa:/1(2,18),0,32;;",128,0,0,0
	.stabn	162,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/NXConstStr.h",130,0,0,0
	.stabs	"/sw/test/gcc/cvs/libobjc/objc/Object.h",130,0,0,0
	.stabn	162,0,0,0
	.stabs	"NXConstantString:T(21,1)=s12isa:/1(2,18),0,32;c_string:/1(2,16),32,32;len:/1(0,4),64,32;;",128,0,0,0
	.stabn	162,0,0,0
	.section	".rodata"
	.align 8
.LLC0:
	.asciz	"Object"
	.align 8
.LLC1:
	.asciz	"NXConstantString"
	.section	".text"
	.align 4
	.stabs	"__objc_linking:F(0,22)",36,0,36,__objc_linking
	.global __objc_linking
	.type	__objc_linking,#function
	.proc	020
__objc_linking:
	.stabs	"/sw/test/gcc/cvs/libobjc/linking.m",132,0,0,.LLtext1
.LLtext1:
	.stabn 68,0,36,.LLM1-__objc_linking
.LLM1:
	!#PROLOGUE# 0
	save	%sp, -112, %sp
	!#PROLOGUE# 1
	.stabn 68,0,37,.LLM2-__objc_linking
.LLM2:
	sethi	%hi(.LLC0), %o0
	call	objc_get_class, 0
	or	%o0, %lo(.LLC0), %o0
	sethi	%hi(_OBJC_SELECTOR_TABLE), %l0
	mov	%o0, %l1
	call	objc_msg_lookup, 0
	or	%l0, %lo(_OBJC_SELECTOR_TABLE), %o1
	mov	%o0, %o2
	or	%l0, %lo(_OBJC_SELECTOR_TABLE), %o1
	call	%o2, 0
	mov	%l1, %o0
	.stabn 68,0,38,.LLM3-__objc_linking
.LLM3:
	sethi	%hi(.LLC1), %o0
	call	objc_get_class, 0
	or	%o0, %lo(.LLC1), %o0
	sethi	%hi(_OBJC_SELECTOR_TABLE+8), %l0
	mov	%o0, %l1
	call	objc_msg_lookup, 0
	or	%l0, %lo(_OBJC_SELECTOR_TABLE+8), %o1
	mov	%o0, %o2
	mov	%l1, %o0
	call	%o2, 0
	or	%l0, %lo(_OBJC_SELECTOR_TABLE+8), %o1
	ret
	restore
.LLfe1:
	.size	__objc_linking,.LLfe1-__objc_linking
.LLscope0:
	.stabs	"",36,0,0,.LLscope0-__objc_linking
	.stabs	"_objc_category:T(0,24)=s20category_name:(2,16),0,32;class_name:(2,16),32,32;instance_methods:(0,25)=*(0,26)=xs_objc_method_list:,64,32;class_methods:(0,25),96,32;protocol_list:(0,27)=*(0,28)=*(0,29)=xs_objc_protocol:,128,32;;",128,0,0,0
	.stabs	"_objc_symtab:T(0,30)=s16sel_ref_cnt:(0,3),0,32;refs:(0,31)=*(0,32)=*(2,2),32,32;cls_def_cnt:(0,8),64,16;cat_def_cnt:(0,8),80,16;defs:(0,33)=ar(2,35);0;0;(2,3),96,32;;",128,0,0,0
	.section	".data"
	.align 4
	.type	_OBJC_SYMBOLS,#object
	.size	_OBJC_SYMBOLS,16
_OBJC_SYMBOLS:
	.uaword	0
	.uaword	_OBJC_SELECTOR_TABLE
	.uahalf	0
	.uahalf	0
	.skip 4
	.align 4
	.type	_OBJC_SELECTOR_TABLE,#object
	.size	_OBJC_SELECTOR_TABLE,24
_OBJC_SELECTOR_TABLE:
	.uaword	_OBJC_METH_VAR_NAME_0
	.uaword	_OBJC_METH_VAR_TYPE_0
	.uaword	_OBJC_METH_VAR_NAME_0
	.uaword	_OBJC_METH_VAR_TYPE_0
	.uaxword	0
	.stabs	"_objc_module:T(0,34)=s16version:(0,3),0,32;size:(0,3),32,32;name:(2,16),64,32;symtab:(0,35)=*(0,30),96,32;;",128,0,0,0
	.align 4
	.type	_OBJC_MODULES,#object
	.size	_OBJC_MODULES,16
_OBJC_MODULES:
	.uaword	8
	.uaword	16
	.uaword	_OBJC_CLASS_NAME_0
	.uaword	_OBJC_SYMBOLS
	.section	".text"
	.align 4
	.stabs	"_GLOBAL__I___objc_linking:f(0,22)",36,0,40,_GLOBAL__I___objc_linking
	.type	_GLOBAL__I___objc_linking,#function
	.proc	020
_GLOBAL__I___objc_linking:
	.stabn 68,0,40,.LLM4-_GLOBAL__I___objc_linking
.LLM4:
	!#PROLOGUE# 0
	!#PROLOGUE# 1
	sethi	%hi(_OBJC_MODULES), %o0
	sethi	%hi(__objc_exec_class), %g1
	jmpl	%g1 + %lo(__objc_exec_class), %g0
	or	%o0, %lo(_OBJC_MODULES), %o0
.LLfe2:
	.size	_GLOBAL__I___objc_linking,.LLfe2-_GLOBAL__I___objc_linking
.LLscope1:
	.stabs	"",36,0,0,.LLscope1-_GLOBAL__I___objc_linking
	.section	".ctors",#alloc,#write
	.align 4
	.uaword	_GLOBAL__I___objc_linking
	.section	".data"
	.align 4
	.type	__objc_class_ref_Object,#object
	.size	__objc_class_ref_Object,4
__objc_class_ref_Object:
	.uaword	__objc_class_name_Object
	.align 4
	.type	__objc_class_ref_NXConstantString,#object
	.size	__objc_class_ref_NXConstantString,4
__objc_class_ref_NXConstantString:
	.uaword	__objc_class_name_NXConstantString
	.section	".rodata"
	.align 8
	.type	_OBJC_CLASS_NAME_0,#object
	.size	_OBJC_CLASS_NAME_0,35
_OBJC_CLASS_NAME_0:
	.asciz	"/sw/test/gcc/cvs/libobjc/linking.m"
	.align 8
	.type	_OBJC_METH_VAR_NAME_0,#object
	.size	_OBJC_METH_VAR_NAME_0,5
_OBJC_METH_VAR_NAME_0:
	.asciz	"name"
	.align 8
	.type	_OBJC_METH_VAR_TYPE_0,#object
	.size	_OBJC_METH_VAR_TYPE_0,11
_OBJC_METH_VAR_TYPE_0:
	.asciz	"r*0@+8:+12"
	.stabs	"_OBJC_SELECTOR_TABLE:S(0,36)=ar(2,35);0;2;(0,37)=xs_objc_selector:",38,0,0,_OBJC_SELECTOR_TABLE
	.stabs	"_OBJC_METH_VAR_NAME_0:S(0,38)=ar(2,35);0;4;(0,2)",38,0,40,_OBJC_METH_VAR_NAME_0
	.stabs	"_OBJC_METH_VAR_TYPE_0:S(0,39)=ar(2,35);0;10;(0,2)",38,0,40,_OBJC_METH_VAR_TYPE_0
	.stabs	"_OBJC_CLASS_NAME_0:S(0,40)=ar(2,35);0;34;(0,2)",38,0,40,_OBJC_CLASS_NAME_0
	.stabs	"__objc_class_ref_Object:S(2,16)",38,0,40,__objc_class_ref_Object
	.stabs	"__objc_class_ref_NXConstantString:S(2,16)",38,0,40,__objc_class_ref_NXConstantString
	.text
	.stabs "",100,0,0,Letext
Letext:
	.ident	"GCC: (GNU) 3.1 20010820 (experimental)"

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